History

drm/radeon/cik: Add macrotile mode array query

This is required to properly calculate the tiling parameters in userspace.

Michel Dänzer committed 12 years ago

Commit 32f79a81 parent 1ddce275 files · +17 −1Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/drm/radeon_drm.h+2−0
@@ -981,6 +981,8 @@ struct drm_radeon_cs { · 980 unmodified lines
981#define RADEON_INFO_SI_TILE_MODE_ARRAY 0x16981#define RADEON_INFO_SI_TILE_MODE_ARRAY 0x16
982/* query if CP DMA is supported on the compute ring */982/* query if CP DMA is supported on the compute ring */
983#define RADEON_INFO_SI_CP_DMA_COMPUTE 0x17983#define RADEON_INFO_SI_CP_DMA_COMPUTE 0x17
984/* CIK macrotile mode array */
985#define RADEON_INFO_CIK_MACROTILE_MODE_ARRAY 0x18
984 986
985 987
986struct drm_radeon_info {988struct drm_radeon_info {