diff options
Diffstat (limited to 'include/uapi/drm/radeon_drm.h')
-rw-r--r-- | include/uapi/drm/radeon_drm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 4766c0f6a838..eeda91774c8a 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h | |||
@@ -913,9 +913,11 @@ struct drm_radeon_gem_va { | |||
913 | /* The first dword of RADEON_CHUNK_ID_FLAGS is a uint32 of these flags: */ | 913 | /* The first dword of RADEON_CHUNK_ID_FLAGS is a uint32 of these flags: */ |
914 | #define RADEON_CS_KEEP_TILING_FLAGS 0x01 | 914 | #define RADEON_CS_KEEP_TILING_FLAGS 0x01 |
915 | #define RADEON_CS_USE_VM 0x02 | 915 | #define RADEON_CS_USE_VM 0x02 |
916 | #define RADEON_CS_END_OF_FRAME 0x04 /* a hint from userspace which CS is the last one */ | ||
916 | /* The second dword of RADEON_CHUNK_ID_FLAGS is a uint32 that sets the ring type */ | 917 | /* The second dword of RADEON_CHUNK_ID_FLAGS is a uint32 that sets the ring type */ |
917 | #define RADEON_CS_RING_GFX 0 | 918 | #define RADEON_CS_RING_GFX 0 |
918 | #define RADEON_CS_RING_COMPUTE 1 | 919 | #define RADEON_CS_RING_COMPUTE 1 |
920 | #define RADEON_CS_RING_DMA 2 | ||
919 | /* The third dword of RADEON_CHUNK_ID_FLAGS is a sint32 that sets the priority */ | 921 | /* The third dword of RADEON_CHUNK_ID_FLAGS is a sint32 that sets the priority */ |
920 | /* 0 = normal, + = higher priority, - = lower priority */ | 922 | /* 0 = normal, + = higher priority, - = lower priority */ |
921 | 923 | ||
@@ -966,6 +968,10 @@ struct drm_radeon_cs { | |||
966 | #define RADEON_INFO_MAX_PIPES 0x10 | 968 | #define RADEON_INFO_MAX_PIPES 0x10 |
967 | /* timestamp for GL_ARB_timer_query (OpenGL), returns the current GPU clock */ | 969 | /* timestamp for GL_ARB_timer_query (OpenGL), returns the current GPU clock */ |
968 | #define RADEON_INFO_TIMESTAMP 0x11 | 970 | #define RADEON_INFO_TIMESTAMP 0x11 |
971 | /* max shader engines (SE) - needed for geometry shaders, etc. */ | ||
972 | #define RADEON_INFO_MAX_SE 0x12 | ||
973 | /* max SH per SE */ | ||
974 | #define RADEON_INFO_MAX_SH_PER_SE 0x13 | ||
969 | 975 | ||
970 | struct drm_radeon_info { | 976 | struct drm_radeon_info { |
971 | uint32_t request; | 977 | uint32_t request; |