Skip to content

Commit 705d9d0

Browse files
author
Ben Skeggs
committed
drm/nouveau/kms/tu102: wait for core update to complete when assigning windows
Fixes a race on Turing between the core cross-channel error checks and the following window update. Signed-off-by: Ben Skeggs <[email protected]>
1 parent 0508831 commit 705d9d0

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/nouveau/dispnv50

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/dispnv50/disp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ nv50_disp_atomic_commit_tail(struct drm_atomic_state *state)
20732073
*/
20742074
if (core->assign_windows) {
20752075
core->func->wndw.owner(core);
2076-
core->func->update(core, interlock, false);
2076+
nv50_disp_atomic_commit_core(state, interlock);
20772077
core->assign_windows = false;
20782078
interlock[NV50_DISP_INTERLOCK_CORE] = 0;
20792079
}

0 commit comments

Comments
 (0)