diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-10-02 21:18:14 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-01-09 00:42:24 +0100 |
commit | 0279ed19bd962434d334f5eeb16d14fdd9459a00 (patch) | |
tree | af41914174d3b22ca61de3a955f4c79f0ea8992f /drivers/gpu/drm/radeon/cikd.h | |
parent | drm/radeon: implement pci config reset for SI (v2) (diff) | |
download | linux-0279ed19bd962434d334f5eeb16d14fdd9459a00.tar.xz linux-0279ed19bd962434d334f5eeb16d14fdd9459a00.zip |
drm/radeon: implement pci config reset for CIK (v3)
pci config reset is a low level reset that resets
the entire chip from the bus interface. It can
be more reliable if soft reset fails.
v2: fix rebase
v3: hide behind module parameter
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cikd.h')
-rw-r--r-- | drivers/gpu/drm/radeon/cikd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cikd.h b/drivers/gpu/drm/radeon/cikd.h index 5964af5e5b2d..98bae9d7b74d 100644 --- a/drivers/gpu/drm/radeon/cikd.h +++ b/drivers/gpu/drm/radeon/cikd.h @@ -724,6 +724,17 @@ #define ATC_MISC_CG 0x3350 +#define GMCON_RENG_EXECUTE 0x3508 +#define RENG_EXECUTE_ON_PWR_UP (1 << 0) +#define GMCON_MISC 0x350c +#define RENG_EXECUTE_ON_REG_UPDATE (1 << 11) +#define STCTRL_STUTTER_EN (1 << 16) + +#define GMCON_PGFSM_CONFIG 0x3538 +#define GMCON_PGFSM_WRITE 0x353c +#define GMCON_PGFSM_READ 0x3540 +#define GMCON_MISC3 0x3544 + #define MC_SEQ_CNTL_3 0x3600 # define CAC_EN (1 << 31) #define MC_SEQ_G5PDX_CTRL 0x3604 |