drm/radeon/kms: fix tiled db height calculation on 6xx/7xx
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 27 Oct 2010 05:44:35 +0000 (01:44 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Oct 2010 01:27:07 +0000 (11:27 +1000)
commit2c7d81acf432fad02073c139355e94a6f7e4df45
tree4ee9dbcb3e556b0d67fc67919271202ef3c47284
parent43b93fbffc2c080dba2e84df6fce8d7e6c0a2581
drm/radeon/kms: fix tiled db height calculation on 6xx/7xx

Calculate height based on the slice bitfield rather than the size.
Same as Dave's CB fix.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c