summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2013-12-22 02:18:01 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-12-23 16:03:43 +0100
commit439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3 (patch)
tree0c7fd49c562fffb10256ade2af353f3774fbaaa8 /include
parentdrm/radeon: fix render backend setup for SI and CIK (diff)
downloadlinux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.tar.xz
linux-439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3.zip
drm/radeon: expose render backend mask to the userspace
This will allow userspace to correctly program the PA_SC_RASTER_CONFIG register, so it can be considered a fix. Signed-off-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/radeon_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 2f3f7ea8c77b..fe421e8a431b 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -983,6 +983,8 @@ struct drm_radeon_cs {
#define RADEON_INFO_SI_CP_DMA_COMPUTE 0x17
/* CIK macrotile mode array */
#define RADEON_INFO_CIK_MACROTILE_MODE_ARRAY 0x18
+/* query the number of render backends */
+#define RADEON_INFO_SI_BACKEND_ENABLED_MASK 0x19
struct drm_radeon_info {