mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix one use of atomic for refcount missed in last commit.
MFC after: 3 days
This commit is contained in:
parent
1f3c8cf88f
commit
a429bdf087
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ static void vblank_disable_fn(void *arg)
|
|||
return;
|
||||
|
||||
for (i = 0; i < dev->num_crtcs; i++) {
|
||||
if (atomic_read(&dev->vblank[i].refcount) == 0 &&
|
||||
if (dev->vblank[i].refcount == 0 &&
|
||||
dev->vblank[i].enabled && !dev->vblank[i].inmodeset) {
|
||||
DRM_DEBUG("disabling vblank on crtc %d\n", i);
|
||||
dev->vblank[i].last =
|
||||
|
|
|
|||
Loading…
Reference in a new issue