diff options
author | 2016-06-08 14:19:00 +0200 | |
---|---|---|
committer | 2016-06-10 16:57:54 +0200 | |
commit | 3b24f7d6758165919ba7b83b3c8365c38ffacc0b (patch) | |
tree | 004c7580981a828075ff01e3fa764675febab6cc /include/drm/drmP.h | |
parent | drm/sun4i: Implement some semblance of vblank event handling (diff) | |
download | linux-3b24f7d6758165919ba7b83b3c8365c38ffacc0b.tar.gz linux-3b24f7d6758165919ba7b83b3c8365c38ffacc0b.tar.bz2 linux-3b24f7d6758165919ba7b83b3c8365c38ffacc0b.zip |
drm/atomic: Add struct drm_crtc_commit to track async updates
Split out from my big nonblocking atomic commit helper code as prep
work. While add it, also add some neat asciiart to document how it's
supposed to be used.
v2: Resurrect misplaced hunk in the kerneldoc.
v3: Wording improvements from Liviu.
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Tomeu Vizoso <tomeu.vizoso@gmail.com>
Cc: Daniel Stone <daniels@collabora.com>
Tested-by: Liviu Dudau <Liviu.Dudau@arm.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1465388359-8070-8-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 086ad96d7d62..ae9ff73f1a0c 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -284,6 +284,7 @@ struct drm_ioctl_desc { /* Event queued up for userspace to read */ struct drm_pending_event { + struct completion *completion; struct drm_event *event; struct fence *fence; struct list_head link; |