From 046dfc1a48046eac01ba99e54b408c3b6e2a2fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ma=C3=ADra=20Canal?= <mcanal@igalia.com>
Date: Sat, 30 May 2026 16:58:20 -0300
Subject: [PATCH] Revert "drm/v3d: Increase the autosuspend delay"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 3341dd2bc43865b6424d95623065aff51470c15d.

After #7400, this commit is no longer needed. After further analysis, the
100ms autosuspend delay was only ever a workaround: shorter delays caused
more frequent runtime suspend/resume cycles on the BCM2711, which exposed
the cache and MMU coherency bugs as random GPU hangs.

With those hangs resolved, the inflated delay is no longer necessary.
Reduce it from 100ms to 50ms so the GPU power domain can be released
sooner once the GPU goes idle.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
 drivers/gpu/drm/v3d/v3d_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/v3d/v3d_drv.c
+++ b/drivers/gpu/drm/v3d/v3d_drv.c
@@ -431,7 +431,7 @@ static int v3d_platform_drm_probe(struct
 
 	v3d_init_hw_state(v3d);
 
-	pm_runtime_set_autosuspend_delay(dev, 100);
+	pm_runtime_set_autosuspend_delay(dev, 50);
 	pm_runtime_use_autosuspend(dev);
 
 	ret = drm_dev_register(drm, 0);
