Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3e15c0b0 authored by Mikko Tiihonen's avatar Mikko Tiihonen Committed by Greg Kroah-Hartman
Browse files

drm/radeon: protect against div by 0 in backend setup

commit f689e3ac upstream.

Make sure at least one RB is enabled in
r6xx_remap_render_backend() to avoid an division by
zero in some corner cases.

See:
https://bugzilla.redhat.com/show_bug.cgi?id=892233



Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f69c00ea
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment