Commit 21a245d2 authored by Rob Clark's avatar Rob Clark

drm: small fix in drm_send_vblank_event()

Initialize e->pipe.. some drivers set this themselves, others do not.
Setting it in drm_send_vblank_event() should help ensure more consistent
behavior with the different drivers.
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 6e488c00
...@@ -867,6 +867,7 @@ void drm_send_vblank_event(struct drm_device *dev, int crtc, ...@@ -867,6 +867,7 @@ void drm_send_vblank_event(struct drm_device *dev, int crtc,
now = get_drm_timestamp(); now = get_drm_timestamp();
} }
e->pipe = crtc;
send_vblank_event(dev, e, seq, &now); send_vblank_event(dev, e, seq, &now);
} }
EXPORT_SYMBOL(drm_send_vblank_event); EXPORT_SYMBOL(drm_send_vblank_event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment