From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [Intel-gfx] [PATCH] drm/i915: fix definition of the DRM_IOCTL_I915_GET_SPRITE_COLORKEY ioctl Date: Fri, 27 Mar 2015 08:18:28 -0700 Message-ID: <551574C4.6000804@intel.com> References: <1427399236-14012-1-git-send-email-tt.rantala@gmail.com> <87a8yzq6yr.fsf@intel.com> <20150327080427.GB23521@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150327080427.GB23521-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Daniel Vetter , Jani Nikula Cc: Tommi Rantala , Daniel Vetter , David Airlie , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: intel-gfx@lists.freedesktop.org On 03/27/2015 01:04 AM, Daniel Vetter wrote: > On Fri, Mar 27, 2015 at 08:39:56AM +0200, Jani Nikula wrote: >> On Thu, 26 Mar 2015, Tommi Rantala wrote: >>> Fix definition of the DRM_IOCTL_I915_GET_SPRITE_COLORKEY ioctl, so that it >>> is different from the DRM_IOCTL_I915_SET_SPRITE_COLORKEY ioctl. >>> >>> Signed-off-by: Tommi Rantala >> >> Whoa. Broken since its introduction in >> >> commit 8ea30864229e54b01ac0e9fe88c4b733a940ec4e >> Author: Jesse Barnes >> Date: Tue Jan 3 08:05:39 2012 -0800 >> >> drm/i915: add color key support v4 >> >> Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Nope, we'll just rip it out and replace it all with the drm_noop ioctl. At > least I didn't find any userspace anywhere and only broken definitions. > Proof enough this isn't useful. > > Even more so since that means we don't have to convert the get ioctl over > to atomic, yay! I'll send patches. Can we just skip the noop part and delete it altogether? It was only added speculatively and obviously never used at all...