diff options
author | Rob Clark <robdclark@chromium.org> | 2022-06-29 14:19:16 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-07-06 18:54:41 -0700 |
commit | 18514c3848cf86f3e2843c9cfc218c8471a1984e (patch) | |
tree | c4b454eefbd55c2a9b7a4e48057d388b66795fa3 /drivers/gpu/drm/msm/adreno | |
parent | cc66a42c94b11b4a92068a730773283a28937571 (diff) | |
download | linux-18514c3848cf86f3e2843c9cfc218c8471a1984e.tar.bz2 |
drm/msm/gpu: Add GEM debug label to devcore
When trying to understand an iova fault devcore, once you figure out
which buffer we accessed beyond the end of, it is useful to see the
buffer's debug label.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/491910/
Link: https://lore.kernel.org/r/20220629211919.563585-3-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/adreno')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/adreno_gpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c b/drivers/gpu/drm/msm/adreno/adreno_gpu.c index 8d03e30f14c0..a049d5de338a 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.c +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.c @@ -824,6 +824,7 @@ void adreno_show(struct msm_gpu *gpu, struct msm_gpu_state *state, drm_printf(p, " - iova: 0x%016llx\n", state->bos[i].iova); drm_printf(p, " size: %zd\n", state->bos[i].size); + drm_printf(p, " name: %-32s\n", state->bos[i].name); adreno_show_object(p, &state->bos[i].data, state->bos[i].size, &state->bos[i].encoded); |