linux/drivers/gpu/drm/imx
Robert Foss c2c446ad29 drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ defines to the UAPI
as a convenience.

Ideally the DRM_ROTATE_ and DRM_REFLECT_ property ids are looked up
through the atomic API, but realizing that userspace is likely to take
shortcuts and assume that the enum values are what is sent over the
wire.

As a result these defines are provided purely as a convenience to
userspace applications.

Changes since v3:
 - Switched away from past tense in comments
 - Add define name change to previously mis-spelled DRM_REFLECT_X comment
 - Improved the comment for the DRM_MODE_REFLECT_<axis> comment

Changes since v2:
 - Changed define prefix from DRM_MODE_PROP_ to DRM_MODE_
 - Fix compilation errors
 - Changed comment formatting
 - Deduplicated comment lines
 - Clarified DRM_MODE_PROP_REFLECT_ comment

Changes since v1:
 - Moved defines from drm.h to drm_mode.h
 - Changed define prefix from DRM_ to DRM_MODE_PROP_
 - Updated uses of the defines to the new prefix
 - Removed include from drm_rect.c
 - Stopped using the BIT() macro

Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170519205017.23307-2-robert.foss@collabora.com
2017-05-22 09:49:48 +02:00
..
dw_hdmi-imx.c drm: bridge: dw-hdmi: Remove device type from platform data 2017-03-10 15:36:38 +05:30
imx-drm-core.c imx-drm module/dependency changes 2017-04-07 05:34:46 +10:00
imx-drm.h drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
imx-ldb.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
imx-tve.c imx-drm: TVE regulator, fb size limit, and ipu-v3 module fixes 2017-02-23 12:10:42 +10:00
ipuv3-crtc.c drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
ipuv3-plane.c drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
ipuv3-plane.h drm/imx: ipuv3-plane: add support for separate alpha planes 2017-03-15 15:42:33 +01:00
Kconfig drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
Makefile drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
parallel-display.c drm: convert drivers to use drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00