diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index d11a9ea5884d..c913ca5c3b39 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -4906,6 +4906,9 @@ | |||
4906 | #define GEN7_UCGCTL4 0x940c | 4906 | #define GEN7_UCGCTL4 0x940c |
4907 | #define GEN7_L3BANK2X_CLOCK_GATE_DISABLE (1<<25) | 4907 | #define GEN7_L3BANK2X_CLOCK_GATE_DISABLE (1<<25) |
4908 | 4908 | ||
4909 | #define GEN8_UCGCTL6 0x9430 | ||
4910 | #define GEN8_SDEUNIT_CLOCK_GATE_DISABLE (1<<14) | ||
4911 | |||
4909 | #define GEN6_RPNSWREQ 0xA008 | 4912 | #define GEN6_RPNSWREQ 0xA008 |
4910 | #define GEN6_TURBO_DISABLE (1<<31) | 4913 | #define GEN6_TURBO_DISABLE (1<<31) |
4911 | #define GEN6_FREQUENCY(x) ((x)<<25) | 4914 | #define GEN6_FREQUENCY(x) ((x)<<25) |
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 739eabc814e9..5819f5c92554 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
@@ -4870,6 +4870,10 @@ static void gen8_init_clock_gating(struct drm_device *dev) | |||
4870 | 4870 | ||
4871 | I915_WRITE(GEN6_RC_SLEEP_PSMI_CONTROL, | 4871 | I915_WRITE(GEN6_RC_SLEEP_PSMI_CONTROL, |
4872 | _MASKED_BIT_ENABLE(GEN8_RC_SEMA_IDLE_MSG_DISABLE)); | 4872 | _MASKED_BIT_ENABLE(GEN8_RC_SEMA_IDLE_MSG_DISABLE)); |
4873 | |||
4874 | /* WaDisableSDEUnitClockGating:bdw */ | ||
4875 | I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) | | ||
4876 | GEN8_SDEUNIT_CLOCK_GATE_DISABLE); | ||
4873 | } | 4877 | } |
4874 | 4878 | ||
4875 | static void haswell_init_clock_gating(struct drm_device *dev) | 4879 | static void haswell_init_clock_gating(struct drm_device *dev) |