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
1038#define RADEON_INFO_CURRENT_GPU_SCLK 0x221038#define RADEON_INFO_CURRENT_GPU_SCLK 0x22
1039#define RADEON_INFO_CURRENT_GPU_MCLK 0x231039#define RADEON_INFO_CURRENT_GPU_MCLK 0x23
1040#define RADEON_INFO_READ_REG 0x241040#define RADEON_INFO_READ_REG 0x24
1041#define RADEON_INFO_GPU_RESET_COUNTER 0x25
1041 1042
1042struct drm_radeon_info {1043struct drm_radeon_info {
1043 uint32_t request;1044 uint32_t request;