drm/radeon: add a GPU reset counter queryable by userspace
authorMarek Olšák <marek.olsak@amd.com>
Wed, 29 Apr 2015 17:40:33 +0000 (19:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 May 2015 14:31:19 +0000 (10:31 -0400)
commit72b9076b2887add930d3b102760f09d02ffbfbe7
tree8eba67d708f9d5c79661d65fc72122fe5f2ac241
parentc6e7e4bb7ff988e7f915526a80ea866d84aac720
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.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c
include/uapi/drm/radeon_drm.h