[Intel-gfx] [PATCH 34/89] drm/i915/skl: Implement WaDisableSDEUnitClockGating:skl

Rodrigo Vivi rodrigo.vivi at gmail.com
Wed Sep 17 20:48:36 CEST 2014


Yeah, this might be only until B0 but useful for now anyway so feel free to
use
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <damien.lespiau at intel.com>
wrote:

> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_pm.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.c
> b/drivers/gpu/drm/i915/intel_pm.c
> index 0265116..0dc148c 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -68,6 +68,14 @@
>
>  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)
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140917/23b65d20/attachment.html>


More information about the Intel-gfx mailing list