Re: [PATCH v2] drm/imagination: Hold drm_gem_gpuva lock for unmap
From: Matt Coster
Date: Mon Mar 03 2025 - 07:30:10 EST
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@xxxxxxxxxx>