Re: [PATCH 1/4] drm: add picture aspect ratio flags

Emil Velikov
2016-08-04T09:42:07Z

On 3 August 2016 at 11:56, Shashank Sharma <shashank.sharma@intel.com> wrote:

> --- a/include/uapi/drm/drm_mode.h
> +++ b/include/uapi/drm/drm_mode.h

> +
> +/* Aspect ratio flag bitmask (4 bits 22:19) */
> +#define DRM_MODE_FLAG_PARMASK (0x0F<<19)
> +#define DRM_MODE_FLAG_PARNONE \
> + (DRM_MODE_PICTURE_ASPECT_NONE << 19)
> +#define DRM_MODE_FLAG_PAR4_3 \
> + (DRM_MODE_PICTURE_ASPECT_4_3 << 19)
> +#define DRM_MODE_FLAG_PAR16_9 \
> + (DRM_MODE_PICTURE_ASPECT_16_9 << 19)
>
Afaict all these flags are internal/implementation specific thus we
shouldn't expose them to userspace. Right ?

-Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org