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 <lyude@redhat.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200720190736.180297-3-lyude@redhat.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>1 parent fbc678e commit 92cc68e
1 file changed
Lines changed: 2 additions & 3 deletions
| 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