]> Git Repo - linux.git/commitdiff
drm/amdgpu: drop root shadow sync
authorChristian König <[email protected]>
Fri, 26 Jan 2018 19:21:26 +0000 (20:21 +0100)
committerAlex Deucher <[email protected]>
Mon, 19 Feb 2018 19:18:54 +0000 (14:18 -0500)
Completely pointless, it is the same reservation object as the root PD
anyway.

Signed-off-by: Christian König <[email protected]>
Reviewed-by: Roger He <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

index 5cdd8d9c3311f266ce09e7ac6186071cc210e430..8ac3bcf9873ff7ed6097bcf66d16e08cdd890ca0 100644 (file)
@@ -932,11 +932,6 @@ restart:
                amdgpu_ring_pad_ib(ring, params.ib);
                amdgpu_sync_resv(adev, &job->sync, root->tbo.resv,
                                 AMDGPU_FENCE_OWNER_VM, false);
-               if (root->shadow)
-                       amdgpu_sync_resv(adev, &job->sync,
-                                        root->shadow->tbo.resv,
-                                        AMDGPU_FENCE_OWNER_VM, false);
-
                WARN_ON(params.ib->length_dw > ndw);
                r = amdgpu_job_submit(job, ring, &vm->entity,
                                      AMDGPU_FENCE_OWNER_VM, &fence);
This page took 0.06022 seconds and 4 git commands to generate.