diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-04-09 10:13:22 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-04-11 09:22:04 -0400 |
commit | cedb655a3a7764c3fd946077944383c9e0e68dd4 (patch) | |
tree | 60af8b9cb083ff6c0f4707afe84e0edf87d135a2 /lib/genalloc.c | |
parent | 55b615aec66d88a0c5dbb9fc026dbdd3b0c121d2 (diff) |
drm/radeon: handle broken disabled rb mask gracefully
If the disabled rb mask register is not properly initialized
program a sane default based on the number of RBs for the
asic. This avoids a potential divide by 0 when calculating
the backend mask.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions