Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aeb0aeac authored by monk.liu's avatar monk.liu Committed by Alex Deucher
Browse files

drm/amdgpu: fence should be added to shared slot

parent cfe2c978
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev,
	if (r)
		goto error_free;

	amdgpu_bo_fence(bo, ib.fence, false);
	amdgpu_bo_fence(bo, ib.fence, true);

error_free:
	amdgpu_ib_free(adev, &ib);
@@ -462,7 +462,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
			amdgpu_ib_free(adev, &ib);
			return r;
		}
		amdgpu_bo_fence(pd, ib.fence, false);
		amdgpu_bo_fence(pd, ib.fence, true);
	}
	amdgpu_ib_free(adev, &ib);