android_kernel_oneplus_msm8998/include/uapi
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
..
asm-generic
drm drm: Pass CRTC ID in userspace vblank events 2018-08-21 17:24:32 -07:00
linux Merge "Merge android-4.4.145 (05670d3) into msm-4.4" 2018-08-14 08:35:07 -07:00
media Merge "msm: camera: sensor: Add support for front aux sensor" 2018-08-02 07:10:34 -07:00
misc
mtd
rdma
scsi Merge android-4.4.113 (ef588ef) into msm-4.4 2018-01-24 18:27:37 +05:30
sound ASoC: msm: qdsp6v2: Update audio effects driver to support Instance ID 2017-12-21 11:27:46 +05:30
video msm: hdmi: edid: update incorrect interlaced field 2017-03-08 12:46:51 -08:00
xen
Kbuild msm: camera: Update camera drivers 2016-03-23 21:22:47 -07:00