Skip to content

Commit cfe9820

Browse files
Jack Xiaoalexdeucher
authored andcommitted
drm/amdgpu/mes12: correct kiq unmap latency
Correct kiq unmap queue timeout value. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 5bea9bb commit cfe9820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/mes_v12_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ static int mes_v12_0_set_hw_resources_1(struct amdgpu_mes *mes, int pipe)
550550
mes_set_hw_res_1_pkt.header.type = MES_API_TYPE_SCHEDULER;
551551
mes_set_hw_res_1_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC_1;
552552
mes_set_hw_res_1_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
553-
mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout = 100;
553+
mes_set_hw_res_1_pkt.mes_kiq_unmap_timeout = 0xa;
554554

555555
return mes_v12_0_submit_pkt_and_poll_completion(mes, pipe,
556556
&mes_set_hw_res_1_pkt, sizeof(mes_set_hw_res_1_pkt),

0 commit comments

Comments
 (0)