Commit 705d9d02 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 05088314
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2073,7 +2073,7 @@ nv50_disp_atomic_commit_tail(struct drm_atomic_state *state)
	 */
	if (core->assign_windows) {
		core->func->wndw.owner(core);
		core->func->update(core, interlock, false);
		nv50_disp_atomic_commit_core(state, interlock);
		core->assign_windows = false;
		interlock[NV50_DISP_INTERLOCK_CORE] = 0;
	}