[Intel-gfx] [PATCH 02/11] drm/i915: Update PSR on resume.

Paulo Zanoni przanoni at gmail.com
Fri May 23 22:51:23 CEST 2014


2014-05-15 21:13 GMT-03:00 Rodrigo Vivi <rodrigo.vivi at gmail.com>:
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>

Can you please write a little bit on the commit message explaining
what is the problem with the current code? What does this patch fix?
Is this a bug fix? What changes now?

Thanks,
Paulo

> ---
>  drivers/gpu/drm/i915/i915_suspend.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c
> index 56785e8..a38dee3 100644
> --- a/drivers/gpu/drm/i915/i915_suspend.c
> +++ b/drivers/gpu/drm/i915/i915_suspend.c
> @@ -288,6 +288,9 @@ static void i915_restore_display(struct drm_device *dev)
>                 I915_WRITE(PP_CONTROL, dev_priv->regfile.savePP_CONTROL);
>         }
>
> +       dev_priv->psr.setup_done = false;
> +       intel_edp_psr_update(dev);
> +
>         /* only restore FBC info on the platform that supports FBC*/
>         intel_disable_fbc(dev);
>
> --
> 1.9.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Paulo Zanoni



More information about the Intel-gfx mailing list