History

drm/amdgpu: expose peak profiling mode shader/memory clocks

Expose those informations to UMD who need them as for standard profiling mode.

Evan Quan committed 3 years ago

Commit 5cfd9781 parent b1a95572 files · +22 −0Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+4−0
@@ -832,6 +832,10 @@ struct drm_amdgpu_cs_chunk_data { · 831 unmodified lines
832 #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK 0x8832 #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 0x9834 #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 0x1E840#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
837#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F841#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t