From: Chris Wilson Subject: Re: [RFCv3 13/14] drm/i915: Split cursor update code from cursor ioctl handling Date: Wed, 19 Mar 2014 08:03:08 +0000 Message-ID: <20140319080308.GF20605@nuc-i3427.alporthouse.com> References: <1395188579-17191-1-git-send-email-matthew.d.roper@intel.com> <1395188579-17191-14-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: <1395188579-17191-14-git-send-email-matthew.d.roper@intel.com> 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 Graphics Development , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, Mar 18, 2014 at 05:22:58PM -0700, Matt Roper wrote: > Legacy cursor ioctls took GEM buffer handles from userspace directly > whereas the new unified plane handling assigns drm_framebuffer's to > cursor planes. Splitting the code that actually updates the cursor > plane from the code that handles object lookup and reference counting > allows us to share common code between both interfaces. This exposes an internal fb, a bo that was private is now public. So maybe drm_framebuffer_init_private() and intel_private_framebuffer_create(). -Chris -- Chris Wilson, Intel Open Source Technology Centre