[PATCH v2] drm/i915: Don't clobber crtc->fb when queue_flip fails

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

 



On Fri, Feb 22, 2013 at 03:13:00PM +0000, Chris Wilson wrote:
> On Fri, Feb 22, 2013 at 04:53:38PM +0200, ville.syrjala at linux.intel.com wrote:
> > From: Ville Syrj?l? <ville.syrjala at linux.intel.com>
> > 
> > Restore crtc->fb to the old framebuffer if queue_flip fails.
> > 
> > While at it, kill the pointless intel_fb temp variable.
> > 
> > v2: Update crtc->fb before queue_flip and restore it back
> >     after a failure.
> > 
> > Cc: stable at vger.kernel.org
> > Signed-off-by: Ville Syrj?l? <ville.syrjala at linux.intel.com>
> 
> Lgtm, either v1 or v2 gets my
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> (with a slight preference towards v2 for the sake of paranoia)

Picked up for -fixes, thanks for the patch. And can I wish for an i-g-t
for this?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


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