[Intel-gfx] [PATCH v4 59/61] drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Nov 3 13:27:56 UTC 2020


On 10/16/20 12:44 PM, Maarten Lankhorst wrote:
> We need to lock the global gtt dma_resv, use i915_vm_lock_objects
> to handle this correctly. Add ww handling for this where required.
>
> Add the object lock around unpin/put pages, and use the unlocked
> versions of pin_pages and pin_map where required.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

For this and the patches in the series that start with

drm/i915/selftests:

Reviewed-by: Thomas Hellström <thellstrom at linux.intel.com>





More information about the Intel-gfx mailing list