On 11/30/26 7:55 AM, Yuanjie Yang wrote:
> The RPTR shadow BO is allocated with msm_gem_kernel_new(), which keeps
> it vmapped, but a6xx_destroy() only unpins its iova before dropping the
> last reference. Unlike sqe_bo and aqe_bo, whose vmap is dropped right
> after the firmware is copied in, it is freed still vmapped:
>
> WARNING: drivers/gpu/drm/msm/msm_gem.c:912 at msm_gem_vunmap+0x78/0x88
> WARNING: drivers/gpu/drm/msm/msm_gem.c:173 at update_lru_locked+0x98/0xa8
>
> Release it with msm_gem_kernel_put(), the counterpart of
> msm_gem_kernel_new().
>
> Fixes: d3a569fccfa0 ("drm/msm: a6xx: Use WHERE_AM_I for eligible targets")
> Cc: [email protected]
> Signed-off-by: Yuanjie Yang <[email protected]>
> ---
Reviewed-by: Konrad Dybcio <[email protected]>
Konrad