aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-12-04 12:55:37 -0500
committerAlex Deucher <alexander.deucher@amd.com>2012-12-07 19:48:22 -0500
commit2e1a7674f65eb2c9118ab59d9c8aa9c731da6b85 (patch)
tree6a4a881d05fe1cdb5a4d2781f7c91e8a8111c3dd /include/uapi
parenta02dc74b317d78298cb0587b9b1f6f741fd5c139 (diff)
drm/radeon: add new INFO ioctl requests
Add requests to get the number of shader engines (SE) and the number of SH per SE. These are needed for geometry and tesselation shaders in the 3D driver as well as setting up PA_SC_RASTER_CONFIG on SI asics. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/radeon_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 0c8a62c543f7..5645a878faec 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -967,6 +967,10 @@ struct drm_radeon_cs {
967#define RADEON_INFO_MAX_PIPES 0x10 967#define RADEON_INFO_MAX_PIPES 0x10
968/* timestamp for GL_ARB_timer_query (OpenGL), returns the current GPU clock */ 968/* timestamp for GL_ARB_timer_query (OpenGL), returns the current GPU clock */
969#define RADEON_INFO_TIMESTAMP 0x11 969#define RADEON_INFO_TIMESTAMP 0x11
970/* max shader engines (SE) - needed for geometry shaders, etc. */
971#define RADEON_INFO_MAX_SE 0x12
972/* max SH per SE */
973#define RADEON_INFO_MAX_SH_PER_SE 0x13
970 974
971struct drm_radeon_info { 975struct drm_radeon_info {
972 uint32_t request; 976 uint32_t request;