“431dc8040354db65e4f8d4d4e21ae4fab41f5bc3”上不存在“arch/mips/include/asm/compat-signal.h”
提交 a4a5f5ca 编写于 作者: J Jack Xiao 提交者: Alex Deucher

drm/amdgpu: skip gds switch for mes queue

For mes manages gds allocation, skip gds switch.
Signed-off-by: NJack Xiao <Jack.Xiao@amd.com>
Acked-by: NChristian König <christian.koenig@amd.com>
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 9d3bccdc
...@@ -639,7 +639,8 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, ...@@ -639,7 +639,8 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job,
} }
dma_fence_put(fence); dma_fence_put(fence);
if (ring->funcs->emit_gds_switch && gds_switch_needed) { if (!ring->is_mes_queue && ring->funcs->emit_gds_switch &&
gds_switch_needed) {
id->gds_base = job->gds_base; id->gds_base = job->gds_base;
id->gds_size = job->gds_size; id->gds_size = job->gds_size;
id->gws_base = job->gws_base; id->gws_base = job->gws_base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册