On Fri, 04 Nov 2011 11:22:10 +0900 Joonyoung Shim jy0922.shim@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,