Commit 92cc68e
committed
drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on()
This is only called from:
* Atomic modesetting hooks
* Module probing routines
* Legacy modesetting hooks
All of which have IRQs enabled, so we can also get rid of
irqsave/restore here to make the IRQ context of this function more
obvious.
Signed-off-by: Lyude Paul <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>1 parent fbc678e commit 92cc68e
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | | - | |
1432 | 1431 | | |
1433 | 1432 | | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | | - | |
| 1435 | + | |
1437 | 1436 | | |
1438 | 1437 | | |
1439 | 1438 | | |
| |||
1451 | 1450 | | |
1452 | 1451 | | |
1453 | 1452 | | |
1454 | | - | |
| 1453 | + | |
1455 | 1454 | | |
1456 | 1455 | | |
1457 | 1456 | | |
| |||
0 commit comments