[Intel-gfx] [PATCH 16/24] drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2.

Thomas Hellström (Intel) thomas_os at shipmail.org
Wed Aug 12 19:39:17 UTC 2020


On 8/10/20 12:30 PM, Maarten Lankhorst wrote:
> This is the last part outside of selftests that still don't use the
> correct lock ordering of timeline->mutex vs resv_lock.
>
> With gem fixed, there are a few places that still get locking wrong:
> - gvt/scheduler.c
> - i915_perf.c
> - Most if not all selftests.
>
> Changes since v1:
> - Add intel_engine_pm_get/put() calls to fix use-after-free when using
>    intel_engine_get_pool().
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

LGTM.

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




More information about the Intel-gfx mailing list