drm/amdgpu/mes12: correct kiq unmap latency
Subsystems (2)
PATCH 1/1 drm/amdgpu/mes12: correct kiq unmap latency
Correct kiq unmap queue timeout value.
Signed-off-by Jack Xiao <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -1
@@ -550,7 +550,7 @@ static int mes_v12_0_set_hw_resources_1(struct amdgpu_mes *mes, int pipe) mes_set_hw_res_1_pkt.header.type =MES_API_TYPE_SCHEDULER ; mes_set_hw_res_1_pkt.header.opcode =MES_SCH_API_SET_HW_RSRC_1 ; mes_set_hw_res_1_pkt.header.dwsize =API_FRAME_SIZE_IN_DWORDS ; - mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout =100 ; + mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout =0xa ; return mes_v12_0_submit_pkt_and_poll_completion(mes, pipe, &mes_set_hw_res_1_pkt, sizeof(mes_set_hw_res_1_pkt),
Signature · 1 line
2.41.0
[AMD Official Use Only - AMD Internal Distribution Only]
Reviewed-by Hawking Zhang <[email protected]>
Regards,
Hawking
-----Original Message-----
From: Xiao, Jack <[email protected]>
Sent: Thursday, November 7, 2024 15:39
To: [email protected]; Deucher, Alexander <[email protected]>; Zhang, Hawking <[email protected]>
Cc: Xiao, Jack <[email protected]>
Subject: [PATCH] drm/amdgpu/mes12: correct kiq unmap latency
Correct kiq unmap queue timeout value.
Signed-off-by Jack Xiao <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -1
@@ -550,7 +550,7 @@ static int mes_v12_0_set_hw_resources_1(struct amdgpu_mes *mes, int pipe) mes_set_hw_res_1_pkt.header.type =MES_API_TYPE_SCHEDULER ; mes_set_hw_res_1_pkt.header.opcode =MES_SCH_API_SET_HW_RSRC_1 ; mes_set_hw_res_1_pkt.header.dwsize =API_FRAME_SIZE_IN_DWORDS ; - mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout =100 ; + mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout =0xa ; return mes_v12_0_submit_pkt_and_poll_completion(mes, pipe, &mes_set_hw_res_1_pkt, sizeof(mes_set_hw_res_1_pkt),
--
2.41.0