From: Alex Deucher <alexander.deucher@xxxxxxx> commit 84f76408abe989809de19d02e476b044fd985adc upstream. The firmware timeout is 2s. Reduce the driver timeout to 2.1 seconds to avoid back pressure on queue submissions. Fixes: 94b51a3d01ed ("drm/amdgpu/mes12: increase mes submission timeout") Acked-by: Christian König <christian.koenig@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> Cc: stable@xxxxxxxxxxxxxxx # 6.11.x Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c index ef05a4116230..186f77813397 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c @@ -146,7 +146,7 @@ static int mes_v12_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes, int api_status_off) { union MESAPI__QUERY_MES_STATUS mes_status_pkt; - signed long timeout = 3000000; /* 3000 ms */ + signed long timeout = 2100000; /* 2100 ms */ struct amdgpu_device *adev = mes->adev; struct amdgpu_ring *ring = &mes->ring[pipe]; spinlock_t *ring_lock = &mes->ring_lock[pipe]; -- 2.46.2 Patches currently in stable-queue which might be from alexander.deucher@xxxxxxx are queue-6.11/drm-radeon-evergreen_cs-fix-int-overflow-errors-in-c.patch queue-6.11/drm-amdgpu-fix-selfring-initialization-sequence-on-soc24.patch queue-6.11/drm-amdgpu-display-fix-a-mistake-in-revert-commit.patch queue-6.11/drm-amdgpu-fix-pte-copy-corruption-for-sdma-7.patch queue-6.11/drm-amd-display-skip-recompute-dsc-params-if-no-stream-on-link.patch queue-6.11/drm-amd-display-add-hdmi-dsc-native-ycbcr422-support.patch queue-6.11/drm-amdkfd-add-sdma-queue-quantum-support-for-gfx12.patch queue-6.11/drm-amd-display-improve-fam-control-for-dcn401.patch queue-6.11/drm-amdgpu-mes12-set-enable_level_process_quantum_check.patch queue-6.11/drm-amd-display-reset-vrr-config-during-resume.patch queue-6.11/drm-amd-display-add-dsc-debug-log.patch queue-6.11/drm-amd-pm-update-workload-mask-after-the-setting.patch queue-6.11/drm-amd-display-fix-synaptics-cascaded-panamera-dsc-determination.patch queue-6.11/drm-amdgpu-fix-invalid-fence-handling-in-amdgpu_vm_t.patch queue-6.11/drm-amd-display-check-link_res-hpo_dp_link_enc-befor.patch queue-6.11/drm-amd-display-free-bo-used-for-dmub-bounding-box.patch queue-6.11/drm-radeon-properly-handle-vbios-fake-edid-sizing.patch queue-6.11/drm-amd-amdgpu-properly-tune-the-size-of-struct.patch queue-6.11/drm-amdgpu-properly-handle-vbios-fake-edid-sizing.patch queue-6.11/drm-amdgpu-vcn-enable-av1-on-both-instances.patch queue-6.11/drm-amdgpu-update-golden-regs-for-gfx12.patch queue-6.11/drm-amdgpu-mes11-reduce-timeout.patch queue-6.11/drm-amdgpu-bump-driver-version-for-cleared-vram.patch queue-6.11/drm-amd-display-check-link_res-hpo_dp_link_enc-before-using-it.patch queue-6.11/drm-amdgpu-mes12-switch-set_shader_debugger-pkt-to-mes-schq-pipe.patch queue-6.11/drm-amdgpu-mes12-reduce-timeout.patch queue-6.11/drm-amd-display-add-null-check-for-set_output_gamma-.patch