Commit 8b9af498 authored by Rob Clark's avatar Rob Clark

drm/msm/adreno: Name the shadow buffer

This was the one GPU related kernel buffer which was not given a debug
name.  Let's fix that.
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20211115191514.310472-1-robdclark@gmail.comSigned-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 5edf2750
...@@ -925,6 +925,8 @@ static int a5xx_hw_init(struct msm_gpu *gpu) ...@@ -925,6 +925,8 @@ static int a5xx_hw_init(struct msm_gpu *gpu)
if (IS_ERR(a5xx_gpu->shadow)) if (IS_ERR(a5xx_gpu->shadow))
return PTR_ERR(a5xx_gpu->shadow); return PTR_ERR(a5xx_gpu->shadow);
msm_gem_object_set_name(a5xx_gpu->shadow_bo, "shadow");
} }
gpu_write64(gpu, REG_A5XX_CP_RB_RPTR_ADDR, gpu_write64(gpu, REG_A5XX_CP_RB_RPTR_ADDR,
......
...@@ -1068,6 +1068,8 @@ static int hw_init(struct msm_gpu *gpu) ...@@ -1068,6 +1068,8 @@ static int hw_init(struct msm_gpu *gpu)
if (IS_ERR(a6xx_gpu->shadow)) if (IS_ERR(a6xx_gpu->shadow))
return PTR_ERR(a6xx_gpu->shadow); return PTR_ERR(a6xx_gpu->shadow);
msm_gem_object_set_name(a6xx_gpu->shadow_bo, "shadow");
} }
gpu_write64(gpu, REG_A6XX_CP_RB_RPTR_ADDR_LO, gpu_write64(gpu, REG_A6XX_CP_RB_RPTR_ADDR_LO,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment