mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
4a7a4cfac5
This is prerequisite for the Linux update. All dependencies relying on the 'linux' have been adjusted to use 'legacy_linux'. Issue #5264
15 lines
458 B
Diff
15 lines
458 B
Diff
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
|
|
index c3816f5..c692ddb 100644
|
|
--- a/drivers/gpu/drm/i915/i915_irq.c
|
|
+++ b/drivers/gpu/drm/i915/i915_irq.c
|
|
@@ -1337,7 +1337,8 @@ static void flip_done_handler(struct drm_i915_private *i915,
|
|
|
|
crtc_state->event = NULL;
|
|
|
|
- drm_crtc_send_vblank_event(&crtc->base, e);
|
|
+ if (e)
|
|
+ drm_crtc_send_vblank_event(&crtc->base, e);
|
|
|
|
spin_unlock_irqrestore(&dev->event_lock, irqflags);
|
|
}
|