diff options
author | Rob Clark <robdclark@chromium.org> | 2020-08-18 00:01:45 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-09-12 19:48:32 +0200 |
commit | 25faf2f2e06565d5cd0b97f77364fbe38f14ef71 (patch) | |
tree | e8120c4e9f75e186ddfc4d0191d6a5d3dd058ed3 /drivers/gpu/drm/msm/msm_gem_vma.c | |
parent | drm/msm/a6xx: Add support for per-instance pagetables (diff) | |
download | linux-25faf2f2e06565d5cd0b97f77364fbe38f14ef71.tar.xz linux-25faf2f2e06565d5cd0b97f77364fbe38f14ef71.zip |
drm/msm: Show process names in gem_describe
In $debugfs/gem we already show any vma(s) associated with an object.
Also show process names if the vma's address space is a per-process
address space.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem_vma.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem_vma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem_vma.c b/drivers/gpu/drm/msm/msm_gem_vma.c index 29cc1305cf37..80a8a266d68f 100644 --- a/drivers/gpu/drm/msm/msm_gem_vma.c +++ b/drivers/gpu/drm/msm/msm_gem_vma.c @@ -17,6 +17,7 @@ msm_gem_address_space_destroy(struct kref *kref) drm_mm_takedown(&aspace->mm); if (aspace->mmu) aspace->mmu->funcs->destroy(aspace->mmu); + put_pid(aspace->pid); kfree(aspace); } |