summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-01-18 18:55:54 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-01-31 16:24:53 -0500
commita65a4369f7a69281b65ed42b7fa2a8e8d6ff585f (patch)
treef4bc2425e3e58ef45d9716d721026c84009889a2 /drivers/gpu/drm/radeon/evergreen_reg.h
parentf13f7731a20ad2ceee8fa8a940b5a68abc733e06 (diff)
downloadblackbird-op-linux-a65a4369f7a69281b65ed42b7fa2a8e8d6ff585f.tar.gz
blackbird-op-linux-a65a4369f7a69281b65ed42b7fa2a8e8d6ff585f.zip
drm/radeon: use status regs to determine what to reset (evergreen)
When we attempt the reset the GPU, look at the status registers to determine what blocks need to be reset. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_reg.h')
-rw-r--r--drivers/gpu/drm/radeon/evergreen_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_reg.h b/drivers/gpu/drm/radeon/evergreen_reg.h
index 034f4c22e5db..f585be16e2d5 100644
--- a/drivers/gpu/drm/radeon/evergreen_reg.h
+++ b/drivers/gpu/drm/radeon/evergreen_reg.h
@@ -223,6 +223,7 @@
#define EVERGREEN_CRTC_STATUS 0x6e8c
# define EVERGREEN_CRTC_V_BLANK (1 << 0)
#define EVERGREEN_CRTC_STATUS_POSITION 0x6e90
+#define EVERGREEN_CRTC_STATUS_HV_COUNT 0x6ea0
#define EVERGREEN_MASTER_UPDATE_MODE 0x6ef8
#define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4
OpenPOWER on IntegriCloud