aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2013-11-18 18:26:00 +0900
committerAlex Deucher <alexander.deucher@amd.com>2013-11-18 09:19:36 -0500
commit32f79a8a82b2ff6f1828b258da214869adc2a28c (patch)
tree660ce0abbf61ca8d13a8d8d5c7c2d98199d856f3 /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon/cik: Return backend map information to userspace (diff)
downloadlinux-dev-32f79a8a82b2ff6f1828b258da214869adc2a28c.tar.xz
linux-dev-32f79a8a82b2ff6f1828b258da214869adc2a28c.zip
drm/radeon/cik: Add macrotile mode array query
This is required to properly calculate the tiling parameters in userspace. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 4970ac0ebc80..ecf2a3960c07 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1982,6 +1982,7 @@ struct cik_asic {
unsigned tile_config;
uint32_t tile_mode_array[32];
+ uint32_t macrotile_mode_array[16];
};
union radeon_asic_config {