[Intel-gfx] [PATCH 1/4] drm: add picture aspect ratio flags
Emil Velikov
emil.l.velikov at gmail.com
Thu Aug 4 09:42:07 UTC 2016
On 3 August 2016 at 11:56, Shashank Sharma <shashank.sharma at 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
More information about the Intel-gfx
mailing list