linux/drivers/gpu/drm/omapdrm
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
..
displays drm/omap: displays: panel-dpi: Support for handling backlight devices 2017-04-03 12:36:40 +03:00
dss drm: omap: use common OF graph helpers 2017-04-06 17:00:27 -04:00
Kconfig drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option 2017-04-03 12:36:40 +03:00
Makefile drm/omap: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:17 +02:00
omap_connector.c drm/omap: fix display SYNC/DE flags 2017-04-03 12:36:40 +03:00
omap_crtc.c drm/omap: Major omap_modeset_init() cleanup 2017-04-03 12:36:40 +03:00
omap_debugfs.c drm/omap: Remove omap_debugfs_cleanup() 2017-01-27 15:25:53 +01:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures 2016-12-19 11:25:05 +02:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
omap_drv.h drm/omap: Major omap_modeset_init() cleanup 2017-04-03 12:36:40 +03:00
omap_encoder.c drm: omapdrm: Use sizeof(*var) instead of sizeof(type) for structures 2016-12-19 11:25:05 +02:00
omap_fb.c drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
omap_fbdev.c drm/fb-helper: Automatically clean up fb_info 2017-02-07 21:36:28 +01:00
omap_gem_dmabuf.c dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro 2017-04-20 13:47:46 +05:30
omap_gem.c Merge tag 'drm-misc-next-2017-03-06' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-03-07 13:59:53 +10:00
omap_irq.c drm/omap: fix crash on module unload 2017-04-03 12:36:40 +03:00
omap_plane.c drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
TODO