diff options
author | Rob Clark <robdclark@chromium.org> | 2021-07-28 04:06:08 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-07-28 04:09:18 +0300 |
commit | 030af2b05aee292ae72e57c2d7ca1c8efd6e89a3 (patch) | |
tree | 2a580dee82e2fb26b39abc5a73fd25b0dcb19442 /drivers/gpu/drm/msm/msm_gpu.c | |
parent | 86c2a0f000c1059dc45ddbb6fb469ef188e7f598 (diff) | |
download | linux-030af2b05aee292ae72e57c2d7ca1c8efd6e89a3.tar.xz |
drm/msm: drop drm_gem_object_put_locked()
No idea why we were still using this. It certainly hasn't been needed
for some time. So drop the pointless twin codepaths.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20210728010632.2633470-4-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index c4ed8694f721..a0589666b1a3 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -992,7 +992,7 @@ fail: gpu->rb[i] = NULL; } - msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace, false); + msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace); platform_set_drvdata(pdev, NULL); return ret; @@ -1011,7 +1011,7 @@ void msm_gpu_cleanup(struct msm_gpu *gpu) gpu->rb[i] = NULL; } - msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace, false); + msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace); if (!IS_ERR_OR_NULL(gpu->aspace)) { gpu->aspace->mmu->funcs->detach(gpu->aspace->mmu); |