[Intel-gfx] Getting primary plane_id in i-g-t

Daniel Vetter daniel at ffwll.ch
Thu Jun 12 14:52:16 CEST 2014


On Thu, Jun 12, 2014 at 1:01 PM, Sagar Arun Kamble
<sagar.a.kamble at intel.com> wrote:
> Including Ville in the thread.
> I feel we need to update  following structure to reflect plane type.
>
> struct drm_mode_get_plane {
>         __u32 plane_id;
>
>         __u32 crtc_id;
>         __u32 fb_id;
>
>         __u32 possible_crtcs;
>         __u32 gamma_size;
>
>         __u32 count_format_types;
>         __u64 format_type_ptr;
> };

There is a plane property which tells you the plane type (i.e.
primary, normal or cursor). Also note that support for universal
planes is currently still hidden behind a module option.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list