diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-06-14 14:04:50 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-18 12:41:47 -0400 |
commit | e3f33d46fd917747e966f8e6d25f2940223ad1ee (patch) | |
tree | 22cc564065251dfaed46c55d76f5f8d82c5386f4 /drivers/gpu/drm/i915/i915_reg.h | |
parent | 6edaa7fcf287b92fb231a9e23cd6b5b0fc3dddb2 (diff) |
drm/i915: add L3 bank clock gating disable on VLV
Prevents a possible hang: WaDisableL3Bank2xClockGate.
v2: only apply to VLV, IVB doesn't need this anymore
References: https://bugs.freedesktop.org/show_bug.cgi?id=50245
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 5d7cf5f7e750..782e5d1dc218 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -4043,6 +4043,9 @@ | |||
4043 | # define GEN6_RCPBUNIT_CLOCK_GATE_DISABLE (1 << 12) | 4043 | # define GEN6_RCPBUNIT_CLOCK_GATE_DISABLE (1 << 12) |
4044 | # define GEN6_RCCUNIT_CLOCK_GATE_DISABLE (1 << 11) | 4044 | # define GEN6_RCCUNIT_CLOCK_GATE_DISABLE (1 << 11) |
4045 | 4045 | ||
4046 | #define GEN7_UCGCTL4 0x940c | ||
4047 | #define GEN7_L3BANK2X_CLOCK_GATE_DISABLE (1<<25) | ||
4048 | |||
4046 | #define GEN6_RPNSWREQ 0xA008 | 4049 | #define GEN6_RPNSWREQ 0xA008 |
4047 | #define GEN6_TURBO_DISABLE (1<<31) | 4050 | #define GEN6_TURBO_DISABLE (1<<31) |
4048 | #define GEN6_FREQUENCY(x) ((x)<<25) | 4051 | #define GEN6_FREQUENCY(x) ((x)<<25) |