Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: always sync the GFX pipe on ctx switch

That is needed to enforce isolation between contexts.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Christian König and committed by
Alex Deucher
def59436 177b76a8

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
··· 191 191 need_ctx_switch = ring->current_ctx != fence_ctx; 192 192 if (ring->funcs->emit_pipeline_sync && job && 193 193 ((tmp = amdgpu_sync_get_fence(&job->explicit_sync)) || 194 - (amdgpu_sriov_vf(adev) && need_ctx_switch) || 195 - amdgpu_vm_need_pipeline_sync(ring, job))) { 194 + need_ctx_switch || amdgpu_vm_need_pipeline_sync(ring, job))) { 195 + 196 196 need_pipe_sync = true; 197 197 198 198 if (tmp)