diff options
author | Dave Airlie <airlied@redhat.com> | 2017-11-23 20:32:29 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-11-23 20:32:29 -0500 |
commit | 0b21871e3d53dbfb22371899afff39af1bae6703 (patch) | |
tree | 99cacb1fc2d7b478874b8d132fbbb283ade4242e | |
parent | 33d22c2ed6dbe1199fc78e84549b1117fd652c01 (diff) | |
parent | b8a3365a30c463e9105969ab1bf8674b763e3408 (diff) |
Merge tag 'drm-misc-next-fixes-2017-11-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
Fix crtc_id in page_flip event.
* tag 'drm-misc-next-fixes-2017-11-23' of git://anongit.freedesktop.org/drm/drm-misc:
drm/vblank: Pass crtc_id to page_flip_ioctl.
-rw-r--r-- | drivers/gpu/drm/drm_plane.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c index 19404e34cd59..37a93cdffb4a 100644 --- a/drivers/gpu/drm/drm_plane.c +++ b/drivers/gpu/drm/drm_plane.c | |||
@@ -1030,6 +1030,7 @@ retry: | |||
1030 | e->event.base.type = DRM_EVENT_FLIP_COMPLETE; | 1030 | e->event.base.type = DRM_EVENT_FLIP_COMPLETE; |
1031 | e->event.base.length = sizeof(e->event); | 1031 | e->event.base.length = sizeof(e->event); |
1032 | e->event.vbl.user_data = page_flip->user_data; | 1032 | e->event.vbl.user_data = page_flip->user_data; |
1033 | e->event.vbl.crtc_id = crtc->base.id; | ||
1033 | ret = drm_event_reserve_init(dev, file_priv, &e->base, &e->event.base); | 1034 | ret = drm_event_reserve_init(dev, file_priv, &e->base, &e->event.base); |
1034 | if (ret) { | 1035 | if (ret) { |
1035 | kfree(e); | 1036 | kfree(e); |