History

drm/radeon: add a GPU reset counter queryable by userspace

Userspace will be able to tell whether a GPU reset occured by comparing an old referece value of the counter with a new value.

Marek Olšák committed 11 years ago

Commit 72b90761 parent c6e7e4b5 files · +9 −1Browse files

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

Unified · Split

include/uapi/drm/radeon_drm.h+1−0
@@ -1038,6 +1038,7 @@ struct drm_radeon_cs { · 1037 unmodified lines
10381038 #define RADEON_INFO_CURRENT_GPU_SCLK 0x22
10391039 #define RADEON_INFO_CURRENT_GPU_MCLK 0x23
10401040 #define RADEON_INFO_READ_REG 0x24
1041+#define RADEON_INFO_GPU_RESET_COUNTER 0x25
10411042
10421043 struct drm_radeon_info {
10431044 uint32_t request;