From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 9/9] drm/i915: PSR HSW: update after enabling sprite. Date: Fri, 13 Jun 2014 10:01:05 +0200 Message-ID: <20140613080105.GG5821@phenom.ffwll.local> References: <1402593406-17869-1-git-send-email-rodrigo.vivi@intel.com> <1402593406-17869-9-git-send-email-rodrigo.vivi@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by gabe.freedesktop.org (Postfix) with ESMTP id A46436E9CA for ; Fri, 13 Jun 2014 01:01:11 -0700 (PDT) Received: by mail-wg0-f41.google.com with SMTP id a1so2358825wgh.24 for ; Fri, 13 Jun 2014 01:01:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1402593406-17869-9-git-send-email-rodrigo.vivi@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Jun 12, 2014 at 10:16:46AM -0700, 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. > = > v2: move it to update_plane. > = > Cc: Ville Syrj=E4l=E4 > Reviewed-by: Vijay Purushothaman > Signed-off-by: Rodrigo Vivi Merged the other patches, too (except patch 4). I need to chat with you about locking ;-) -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 1b66ddc..404335d 100644 > --- a/drivers/gpu/drm/i915/intel_sprite.c > +++ b/drivers/gpu/drm/i915/intel_sprite.c > @@ -1051,6 +1051,8 @@ intel_update_plane(struct drm_plane *plane, struct = drm_crtc *crtc, > mutex_unlock(&dev->struct_mutex); > } > = > + intel_edp_psr_update(dev); > + > return 0; > } > = > -- = > 1.9.3 > = > _______________________________________________ > 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