]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
accel/ivpu: Increase state dump msg timeout
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Fri, 25 Apr 2025 09:28:22 +0000 (11:28 +0200)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Wed, 30 Apr 2025 09:26:20 +0000 (11:26 +0200)
Increase JMS message state dump command timeout to 100 ms. On some
platforms, the FW may take a bit longer than 50 ms to dump its state
to the log buffer and we don't want to miss any debug info during TDR.

Fixes: 5e162f872d7a ("accel/ivpu: Add FW state dump on TDR")
Cc: stable@vger.kernel.org # v6.13+
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://lore.kernel.org/r/20250425092822.2194465-1-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_hw.c

index ec9a3629da3a924f81b282727882bd3bcedf59cf..633160470c939fcd9c3c201c90967abadc08623b 100644 (file)
@@ -119,7 +119,7 @@ static void timeouts_init(struct ivpu_device *vdev)
                else
                        vdev->timeout.autosuspend = 100;
                vdev->timeout.d0i3_entry_msg = 5;
-               vdev->timeout.state_dump_msg = 10;
+               vdev->timeout.state_dump_msg = 100;
        }
 }