From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/4] drm: Support legacy cursor ioctls via universal planes when possible (v2) Date: Mon, 19 May 2014 09:28:35 +0200 Message-ID: <20140519072835.GE8790@phenom.ffwll.local> References: <1400203049-21385-2-git-send-email-matthew.d.roper@intel.com> <1400279896-26112-1-git-send-email-matthew.d.roper@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Matt Roper Cc: intel-gfx , dri-devel List-Id: dri-devel@lists.freedesktop.org I didn't spot anything else, so with the below issue addressed this patch is Reviewed-by: Daniel Vetter On Sat, May 17, 2014 at 12:43:04AM +0200, Daniel Vetter wrote: > On Sat, May 17, 2014 at 12:38 AM, Matt Roper wrote: > > + if (ret) { > > + if (req->flags & DRM_MODE_CURSOR_BO) > > + drm_mode_rmfb(dev, &fb->base.id, file_priv); > > + return ret; > > + } > > With the new refcount logic an unconditional > drm_framebuffer_unreference should be here instead of this. I think, > but please double-check since it's late here ;-) > -Daniel > -- > Daniel Vetter > Software Engineer, Intel Corporation > +41 (0) 79 365 57 48 - http://blog.ffwll.ch -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch