From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 1/4] drm: add plane support Date: Tue, 7 Jun 2011 14:01:21 -0700 Message-ID: <20110607140121.279bf9b4@jbarnes-desktop> References: <1307477262-8242-1-git-send-email-jbarnes@virtuousgeek.org> <1307477262-8242-2-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1307477262-8242-2-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, 7 Jun 2011 13:07:39 -0700 Jesse Barnes wrote: > +/* Planes blend with or override other bits on the CRTC */ > +struct drm_mode_set_plane { > + __u32 plane_id; > + __u32 crtc_id; > + __u32 fb_id; /* contains surface format type */ > + > + __u32 crtc_x, crtc_y; > + __u32 x, y; > + > + /* FIXME: color key/mask, scaling, z-order, other? */ > +}; Forgot to add the scaling factors to this. Would: __u32 scaling_x; /* fixed 16.16 format */ __u32 scaling_y; work for people? Color key and z-order can be specified through a new ioctl, as can any atomic flip that we want to occur with other activity. -- Jesse Barnes, Intel Open Source Technology Center