summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_gem.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-04-11 14:58:33 -0700
committerRob Clark <robdclark@chromium.org>2022-04-21 15:03:11 -0700
commitca35ab2a2059c08799f0d0c5fcab8a6cc4d89dbd (patch)
tree3352821b0c4dc8f3ef35d818b07f0f85ab929235 /drivers/gpu/drm/msm/msm_gem.c
parent8e30fa32392ccd69bf80e83463e43aa15711ce34 (diff)
downloadlwn-ca35ab2a2059c08799f0d0c5fcab8a6cc4d89dbd.tar.gz
lwn-ca35ab2a2059c08799f0d0c5fcab8a6cc4d89dbd.zip
drm/msm/gem: Split out inuse helper
Prep for a following patch, where it gets a bit more complicated. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220411215849.297838-5-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.c')
-rw-r--r--drivers/gpu/drm/msm/msm_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
index 02b9ae65a96a..f53e298dd7cf 100644
--- a/drivers/gpu/drm/msm/msm_gem.c
+++ b/drivers/gpu/drm/msm/msm_gem.c
@@ -937,7 +937,7 @@ void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m,
name, comm ? ":" : "", comm ? comm : "",
vma->aspace, vma->iova,
vma->mapped ? "mapped" : "unmapped",
- vma->inuse);
+ msm_gem_vma_inuse(vma));
kfree(comm);
}