[Intel-gfx] [PATCH v4 09/61] drm/i915: Convert i915_gem_object_attach_phys() to ww locking

Thomas Hellström (Intel) thomas_os at shipmail.org
Fri Oct 30 08:38:15 UTC 2020


On 10/16/20 12:43 PM, Maarten Lankhorst wrote:
> Simple adding of i915_gem_object_lock, we may start to pass ww to
> get_pages() in the future, but that won't be the case here;
> We override shmem's get_pages() handling by calling
> i915_gem_object_get_pages_phys(), no ww is needed.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

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




More information about the Intel-gfx mailing list