Re: [PATCH] drm/i915: Track cursor changes as frontbuffer tracking flushes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 14, 2014 at 12:49:06PM -0700, Rodrigo Vivi wrote:
> Tested-by and Reviewed-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>

Thanks a lot for testing and review, happy that we've tracked this one
down. Patch merged to dinq (since psr is unfortunately already disabled
again in 3.17 upstream).
-Daniel

> 
> 
> On Fri, Aug 8, 2014 at 11:27 AM, Daniel Vetter <daniel.vetter@xxxxxxxx>
> wrote:
> 
> > We treat other plane updates in the same fashion. Spotted because
> > Rodrigo kept reporting a bug in the PSR code where the frontbuffer was
> > eternally stuck with a dirty cursor bit set.
> >
> > The psr testcase should have caught this, but that i-g-t is kaputt.
> > Rodrigo is signed up to fix that.
> >
> > Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
> > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
> > ---
> >  drivers/gpu/drm/i915/intel_display.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_display.c
> > b/drivers/gpu/drm/i915/intel_display.c
> > index fac7bdfe9ec8..91984710b841 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -11677,6 +11677,10 @@ intel_cursor_plane_update(struct drm_plane
> > *plane, struct drm_crtc *crtc,
> >                 return intel_crtc_cursor_set_obj(crtc, obj, crtc_w,
> > crtc_h);
> >         } else {
> >                 intel_crtc_update_cursor(crtc, visible);
> > +
> > +               intel_frontbuffer_flip(crtc->dev,
> > +
> >  INTEL_FRONTBUFFER_CURSOR(intel_crtc->pipe));
> > +
> >                 return 0;
> >         }
> >  }
> > --
> > 2.0.1
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> >
> 
> 
> 
> -- 
> Rodrigo Vivi
> Blog: http://blog.vivi.eng.br

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux