diff mbox series

[SRU,I/raspi,03/10] Revert "drm/vc4: fix vc4_atomic_commit_tail() logic"

Message ID 20211018155848.334053-4-juergh@canonical.com
State New
Headers show
Series HDMI output freezes under current/proposed impish kernels (LP: #1946368) | expand

Commit Message

Juerg Haefliger Oct. 18, 2021, 3:58 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1946368

This reverts commit 8a11e84b8056c9daa0ea9d6dbb4d75382fb4a8e0.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 drivers/gpu/drm/vc4/vc4_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c
index 9045318fa32c..919b2c2318b1 100644
--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -376,7 +376,7 @@  static void vc4_atomic_commit_tail(struct drm_atomic_state *state)
 		if (!old_hvs_state->fifo_state[channel].in_use)
 			continue;
 
-		ret = drm_crtc_commit_wait(old_hvs_state->fifo_state[channel].pending_commit);
+		ret = drm_crtc_commit_wait(old_hvs_state->fifo_state[i].pending_commit);
 		if (ret)
 			drm_err(dev, "Timed out waiting for commit\n");
 	}