drm/radeon: protect against div by 0 in backend setup
authorMikko Tiihonen <mikko.tiihonen@iki.fi>
Wed, 30 Jan 2013 19:10:04 +0000 (14:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Jan 2013 19:10:04 +0000 (14:10 -0500)
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: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

No differences found