10/25/2011 08:18 PM, Jesse Barnes 쓴 글:
On Tue, 25 Oct 2011 19:53:02 +0900 Joonyoung Shimjy0922.shim@samsung.com wrote:
+/**
- drm_plane - central DRM plane control structure
- @dev: DRM device this plane belongs to
- @kdev: kernel device
- @attr: kdev attributes
- @head: for list management
- @base: base mode object
- @crtc_x: x position of plane (relative to pipe base)
- @crtc_y: y position of plane
- @x: x offset into fb
- @y: y offset into fb
Above 4 members don't be used.
Oops yeah, I'll fix up the comments.
+struct drm_mode_get_plane {
- __u64 format_type_ptr;
- __u32 plane_id;
- __u32 crtc_id;
- __u32 fb_id;
- __u32 possible_crtcs;
- __u32 gamma_size;
- __u32 count_format_types;
+};
I wonder why doesn't give to user crtc_x, crtc_y, crtc_w, crtc_h information?
It could, but the caller should already know was my thinking. Would you like those bits returned?
I saw such codes in initial your RFC patch version so i just have wondered why it is removed. It can be added later if needs.
Thanks.