1
0
Fork 0
alistair23-linux/drivers/gpu/drm/vmwgfx
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
..
device_include drm/vmwgfx: Clear an uninitialized struct member 2017-01-26 20:52:36 -08:00
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_binding.c drm/vmwgfx: Initial DX support 2015-08-12 10:06:32 -07:00
vmwgfx_binding.h drm/vmwgfx: Initial DX support 2015-08-12 10:06:32 -07:00
vmwgfx_buffer.c drm/ttm: add io_mem_pfn callback 2017-04-04 23:33:42 -04:00
vmwgfx_cmdbuf.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_context.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_cotable.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_dmabuf.c drm/vmwgfx: Check pin count before attempting to move a buffer 2016-07-01 10:47:50 -07:00
vmwgfx_drv.c drm/vmwgfx: Convert macro to octal representation 2017-04-21 09:25:47 -07:00
vmwgfx_drv.h drm/vmwgfx: Add universal plane support 2017-03-31 09:13:08 -07:00
vmwgfx_execbuf.c drm/vmwgfx: Avoid validating views on view destruction 2016-10-10 11:15:05 -07:00
vmwgfx_fb.c drm/vmwgfx: Fix fbdev emulation using legacy functions 2017-04-07 13:28:32 -04:00
vmwgfx_fence.c drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces 2017-03-30 11:43:39 +02:00
vmwgfx_fence.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
vmwgfx_fifo.c drm/vmwgfx: fix a warning message 2015-11-26 17:40:00 +01:00
vmwgfx_gmr.c drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_gmrid_manager.c gpu: drm: drivers: Convert printk(KERN_<LEVEL> to pr_<level> 2017-03-01 09:44:11 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Remove getparam error message 2017-03-30 11:43:40 +02:00
vmwgfx_irq.c drm/vmwgfx: Relax irq locking somewhat 2015-11-06 16:15:40 +01:00
vmwgfx_kms.c drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
vmwgfx_kms.h drm: Add acquire ctx to ->gamma_set hook 2017-04-06 10:21:55 +02:00
vmwgfx_ldu.c drm/vmwgfx: Fix LDU X blank screen until mode change issue 2017-03-31 15:21:15 -07:00
vmwgfx_marker.c drm: vmwgfx: Use nsec based interfaces 2014-07-23 15:01:50 -07:00
vmwgfx_mob.c drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy 2017-01-26 21:26:17 -08:00
vmwgfx_msg.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_msg.h drm/vmwgfx: Add VMWare host messaging capability 2016-05-20 17:12:33 +02:00
vmwgfx_overlay.c drm/vmwgfx: Fix up user_dmabuf refcounting 2015-09-14 01:13:11 -07:00
vmwgfx_prime.c dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro 2017-04-20 13:47:46 +05:30
vmwgfx_reg.h drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_resource.c Linux 4.11-rc6 2017-04-11 07:40:42 +10:00
vmwgfx_resource_priv.h drm/vmwgfx: Introduce a simple resource type 2017-03-31 15:21:17 -07:00
vmwgfx_scrn.c Merge tag 'drm-misc-next-2017-03-31' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-03 16:30:24 +10:00
vmwgfx_shader.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_simple_resource.c drm/vmwgfx: Introduce a simple resource type 2017-03-31 15:21:17 -07:00
vmwgfx_so.c drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_so.h drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_stdu.c Merge tag 'drm-misc-next-2017-03-31' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-03 16:30:24 +10:00
vmwgfx_surface.c drm/vmwgfx: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:40 +02:00
vmwgfx_ttm_glue.c drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00
vmwgfx_va.c drm/vmwgfx: Re-implement the stream resource as a simple resource. 2017-03-31 15:21:17 -07:00