Expose those informations to UMD who need them as for standard profiling mode.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -832,6 +832,10 @@ struct drm_amdgpu_cs_chunk_data { · 831 unmodified lines | |||
| 832 | #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK 0x8 | 832 | #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK 0x8 |
| 833 | /* Subquery id: Query GPU stable pstate memory clock */ | 833 | /* Subquery id: Query GPU stable pstate memory clock */ |
| 834 | #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK 0x9 | 834 | #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK 0x9 |
| 835 | /* Subquery id: Query GPU peak pstate shader clock */ | ||
| 836 | #define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_SCLK 0xa | ||
| 837 | /* Subquery id: Query GPU peak pstate memory clock */ | ||
| 838 | #define AMDGPU_INFO_SENSOR_PEAK_PSTATE_GFX_MCLK 0xb | ||
| 835 | /* Number of VRAM page faults on CPU access. */ | 839 | /* Number of VRAM page faults on CPU access. */ |
| 836 | #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E | 840 | #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E |
| 837 | #define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F | 841 | #define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F |