This allows us to query certain registers from userspace for profiling and harvest configuration. E.g., it can be used by the GALLIUM_HUD for profiling the status of various gfx blocks.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -1037,6 +1037,7 @@ struct drm_radeon_cs { · 1036 unmodified lines | |||
| 1037 | #define RADEON_INFO_CURRENT_GPU_TEMP 0x21 | 1037 | #define RADEON_INFO_CURRENT_GPU_TEMP 0x21 |
| 1038 | #define RADEON_INFO_CURRENT_GPU_SCLK 0x22 | 1038 | #define RADEON_INFO_CURRENT_GPU_SCLK 0x22 |
| 1039 | #define RADEON_INFO_CURRENT_GPU_MCLK 0x23 | 1039 | #define RADEON_INFO_CURRENT_GPU_MCLK 0x23 |
| 1040 | #define RADEON_INFO_READ_REG 0x24 | ||
| 1040 | 1041 | ||
| 1041 | struct drm_radeon_info { | 1042 | struct drm_radeon_info { |
| 1042 | uint32_t request; | 1043 | uint32_t request; |