On 11/30/26 7:55 AM, Yuanjie Yang wrote:
> a6xx_ucode_check_version() maps the SQE firmware BO with
> msm_gem_get_vaddr(), but returns early for a7xx, a702 and a8xx without
> the matching msm_gem_put_vaddr(). The BO then reaches a6xx_destroy()
> still vmapped, and freeing it warns:
>
> 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
>
> Go through the common exit path instead.
>
> Fixes: af66706accdf ("drm/msm/a6xx: Add skeleton A7xx support")
> Cc: [email protected]
> Signed-off-by: Yuanjie Yang <[email protected]>
> ---
Reviewed-by: Konrad Dybcio <[email protected]>
Konrad