Skip to content
Snippets Groups Projects
Commit 184d3e28 authored by Christian König's avatar Christian König Committed by Linux Infrastructure
Browse files

drm/amdgpu: fix incorrect amd-staging-drm-next merge


Looks like some code got lost in the 6.1 merge, re-add it.

Not for upstreaming!

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 23d63f8b
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,9 @@ amdgpu_job_prepare_job(struct drm_sched_job *sched_job,
struct dma_fence *fence = NULL;
int r;
if (job->gang_submit)
fence = amdgpu_device_switch_gang(ring->adev, job->gang_submit);
while (!fence && job->vm && !job->vmid) {
r = amdgpu_vmid_grab(job->vm, ring, job, &fence);
if (r)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment