On Wed, Apr 02, 2014 at 07:21:01PM +0100, oscar.ma...@intel.com wrote: > From: Oscar Mateo <oscar.ma...@intel.com> > > Otherwise, we do a NULL pointer dereference.
Or we could just do was_pin_display = obj->pin_display; obj->pin_display = true; err_unpin_display: obj->pin_display = was_pin_display; And then we wouldn't even need the essay... However, it is almost a theory of operation and quite useful... -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx