mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
6e488c0045
commit
21a245d2d6
@ -867,6 +867,7 @@ void drm_send_vblank_event(struct drm_device *dev, int crtc,
|
||||
|
||||
now = get_drm_timestamp();
|
||||
}
|
||||
e->pipe = crtc;
|
||||
send_vblank_event(dev, e, seq, &now);
|
||||
}
|
||||
EXPORT_SYMBOL(drm_send_vblank_event);
|
||||
|
Loading…
Reference in New Issue
Block a user