From: Daniel Vetter Subject: Re: [PATCH 2/2] drm/i915: PSR HSW: update after enabling sprite. Date: Fri, 7 Feb 2014 20:00:11 +0100 Message-ID: <20140207190011.GF17001@phenom.ffwll.local> References: <1391796588-2015-1-git-send-email-rodrigo.vivi@gmail.com> <1391796588-2015-2-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) by gabe.freedesktop.org (Postfix) with ESMTP id CA157FB4B5 for ; Fri, 7 Feb 2014 11:00:16 -0800 (PST) Received: by mail-ee0-f45.google.com with SMTP id b15so1693695eek.18 for ; Fri, 07 Feb 2014 11:00:16 -0800 (PST) Content-Disposition: inline In-Reply-To: <1391796588-2015-2-git-send-email-rodrigo.vivi@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Feb 07, 2014 at 04:09:48PM -0200, Rodrigo Vivi wrote: > On the current structure HSW doesn't support PSR with sprites enabled > but sprites can be enabled after PSR was enabled what would cause > user to miss screen updates. > = > Cc: Ville Syrj=E4l=E4 > Signed-off-by: Rodrigo Vivi Have you checked whether your current psr testcase hits this issue? If so please add the Testcase: tag with the right subtest to this patch. -Daniel > --- > drivers/gpu/drm/i915/intel_sprite.c | 2 ++ > 1 file changed, 2 insertions(+) > = > diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/i= ntel_sprite.c > index 336ae6c..3132686 100644 > --- a/drivers/gpu/drm/i915/intel_sprite.c > +++ b/drivers/gpu/drm/i915/intel_sprite.c > @@ -318,6 +318,8 @@ ivb_update_plane(struct drm_plane *plane, struct drm_= crtc *crtc, > I915_WRITE(SPRSURF(pipe), > i915_gem_obj_ggtt_offset(obj) + sprsurf_offset); > POSTING_READ(SPRSURF(pipe)); > + > + intel_edp_psr_update(dev); > } > = > static void > -- = > 1.7.11.7 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch