[PATCH 1/5] drm: add plane support

Jesse Barnes jbarnes at virtuousgeek.org
Fri Nov 4 07:10:41 PDT 2011


On Fri, 04 Nov 2011 11:22:10 +0900
Joonyoung Shim <jy0922.shim at samsung.com> wrote:
> > +struct drm_plane {
> > +	struct drm_device *dev;
> > +	struct device kdev;
> > +	struct device_attribute *attr;
> > +	struct list_head head;
> > +
> > +	struct drm_mode_object base;
> > +
> > +	uint32_t possible_crtcs;
> > +	uint32_t *format_types;
> > +	uint32_t format_count;
> > +
> > +	struct drm_crtc *crtc;
> > +	struct drm_framebuffer *fb;
> 
> Where are crtc and fb of struct drm_plane assigned?
> First, i did it in device specific update_plane, but can do in
> drm_mode_setplane?

Yeah it should probably be done in setplane if there's no error.  Fixed.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111104/dfe6df84/attachment.pgp>


More information about the dri-devel mailing list