mirror of https://gitee.com/openkylin/linux.git
drm/i915/skl: Implement WaDisableSDEUnitClockGating:skl
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
e7e7ea2029
commit
acd5c34640
|
@ -68,6 +68,14 @@
|
||||||
|
|
||||||
static void gen9_init_clock_gating(struct drm_device *dev)
|
static void gen9_init_clock_gating(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WaDisableSDEUnitClockGating:skl
|
||||||
|
* This seems to be a pre-production w/a.
|
||||||
|
*/
|
||||||
|
I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
|
||||||
|
GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void i8xx_disable_fbc(struct drm_device *dev)
|
static void i8xx_disable_fbc(struct drm_device *dev)
|
||||||
|
|
Loading…
Reference in New Issue