drm/radeon/kms: fix tiling info on evergreen
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 17 Nov 2010 17:11:03 +0000 (12:11 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Nov 2010 04:56:59 +0000 (14:56 +1000)
commit1aa52bd3bc839064d5a3e4de406850f4a3aa5378
tree5acdc55a07a0309d00329619cb32562f9ea833ed
parent268b2510de14f62134d87ba9b4981816192db386
drm/radeon/kms: fix tiling info on evergreen

We aren't currently using tiling in userspace on evergreen,
but the info we currently return for the tiling info query
(gb_addr_config) is no adequate for userspace tiling alignment
calculations.  It does not contain the bank info.  Create a custom
tiling info dword with all the necessary info (num channels,
num banks, group size, row size).

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