“a5a19c63f4e55e32dc0bc3d936d7f94793d8b380”上不存在“arch/x86/include/asm/pgtable-3level.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,
}
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_size = job->gds_size;
id->gws_base = job->gws_base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册