android_kernel_oneplus_msm8998/include/uapi/drm
Ander Conselvan de Oliveira bf652034e3 drm: Pass CRTC ID in userspace vblank events
With the atomic API, it is possible that a single commit affects
multiple crtcs. If the user requests an event with that commit, one
event will be sent for each CRTC, but it is not possible to distinguish
which crtc an event is for in user space. To solve this, the reserved
field in struct drm_vblank_event is repurposed to include the crtc_id
which the event is for.

The DRM_CAP_CRTC_IN_VBLANK_EVENT is added to allow userspace to query if
the crtc field will be set properly.

[daniels: Rebased, using Maarten's forward-port.]

Change-Id: I48b6b3ab4c97b20b79ebff0cb367acb1f53e95cc
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170404165221.28240-2-daniels@collabora.com
[abhinavk@codeaurora.org: resolved trivial merge conflicts]
Git-commit: 5db06a8a98f515f67446a69c57577c4c363ec65d
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2018-08-21 17:24:32 -07:00
..
amdgpu_drm.h drm/amdgpu: update the core VI support for Stoney 2015-10-21 12:21:31 -04:00
armada_drm.h
drm.h drm: Pass CRTC ID in userspace vblank events 2018-08-21 17:24:32 -07:00
drm_fourcc.h Merge android-4.4@73a2b70 (v4.4.92) into msm-4.4 2017-10-20 02:11:57 -07:00
drm_mode.h drm: Add and handle new aspect ratios in DRM layer 2018-02-20 14:20:37 -08:00
drm_sarea.h drm: add extern C guard for the UAPI headers 2017-05-10 14:12:36 -07:00
exynos_drm.h
i810_drm.h drm/i810_drm.h: include drm/drm.h 2015-10-16 15:51:00 +02:00
i915_drm.h
Kbuild drm/msm: Initial version post processing header 2016-09-29 16:06:16 -07:00
mga_drm.h
msm_drm.h drm/msm: add DRM_IOCTL_MSM_RMFB2 2018-08-13 11:57:37 +08:00
msm_drm_pp.h DRM: SDE: Independent control of left/right global PA 2018-06-18 15:47:10 -07:00
nouveau_drm.h drm/nouveau: remove unnecessary usage of object handles 2015-11-03 15:02:18 +10:00
omap_drm.h
qxl_drm.h
r128_drm.h r128_drm.h: include drm/drm.h 2015-10-16 15:50:59 +02:00
radeon_drm.h
savage_drm.h savage_drm.h: include <drm/drm.h> 2015-10-16 15:50:59 +02:00
sde_drm.h drm/msm/sde: add connector support for power modes 2017-08-28 16:11:28 +08:00
sis_drm.h include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h 2015-10-16 11:27:46 +10:00
tegra_drm.h
via_drm.h via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h 2015-10-16 11:27:49 +10:00
virtgpu_drm.h virtio-gpu: fix ioctl and expose the fixed status to userspace. 2018-05-30 07:49:02 +02:00
vmwgfx_drm.h