[PATCH v2] drm/imagination: Hold drm_gem_gpuva lock for unmap

Matt Coster matt.coster at imgtec.com
Mon Mar 3 12:14:28 UTC 2025


On Wed, 26 Feb 2025 15:43:06 +0000, Brendan King wrote:
> Avoid a warning from drm_gem_gpuva_assert_lock_held in drm_gpuva_unlink.
> 
> The Imagination driver uses the GEM object reservation lock to protect
> the gpuva list, but the GEM object was not always known in the code
> paths that ended up calling drm_gpuva_unlink. When the GEM object isn't
> known, it is found by calling drm_gpuva_find to lookup the object
> associated with a given virtual address range, or by calling
> drm_gpuva_find_first when removing all mappings.
> 
> [...]

Applied, thanks!

[1/1] drm/imagination: Hold drm_gem_gpuva lock for unmap
      commit: a5c4c3ba95a52d66315acdfbaba9bd82ed39c250

Best regards,
-- 
Matt Coster <matt.coster at imgtec.com>




More information about the dri-devel mailing list