diff options
author | Rob Clark <robdclark@gmail.com> | 2012-12-10 17:49:46 +0100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2013-02-17 23:55:42 +0100 |
commit | 21a245d2d62ef617978316203af032d499805cd2 (patch) | |
tree | 0e5ebe42845c33357ff65cbbd3b07c0cf039ba15 /drivers/gpu/drm | |
parent | drm: Don't set the plane->fb to NULL on successfull set_plane (diff) | |
download | linux-21a245d2d62ef617978316203af032d499805cd2.tar.xz linux-21a245d2d62ef617978316203af032d499805cd2.zip |
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/drm_irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 38e79927b2d7..a6a8643a6a77 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c @@ -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); |