History

drm/amdgpu: add VRAM lost query

Allows userspace to figure out if VRAM was lost.

Christian König committed 9 years ago

Commit 1f7251b1 parent 7a0a48d2 files · +4 −0Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+1−0
@@ -657,6 +657,7 @@ struct drm_amdgpu_cs_chunk_data { · 656 unmodified lines
657 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7657 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7
658/* Number of VRAM page faults on CPU access. */658/* Number of VRAM page faults on CPU access. */
659#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E659#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
660#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F
660 661
661#define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0662#define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0
662#define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff663#define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff

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