[Intel-gfx] [PATCH 04/15] drm/i915: Run psr_setup unconditionally

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 17 08:43:53 CEST 2014


On Mon, Jun 16, 2014 at 05:03:02PM -0700, Rodrigo Vivi wrote:
>    On Mon, Jun 16, 2014 at 10:51 AM, Daniel Vetter
>    <[1]daniel.vetter at ffwll.ch> wrote:
> 
>       static void intel_edp_psr_enable_sink(struct intel_dp *intel_dp)
>      @@ -1911,9 +1906,6 @@ void intel_edp_psr_exit(struct drm_device *dev,
>      bool schedule_back)
>              if (!HAS_PSR(dev))
>                      return;

Whilst you are here, this should just be a if (dev_priv->psr.enabled)
check.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list