[Intel-gfx] [PATCH 19/24] drm/i915: Dirty hack to fix selftests locking inversion

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


On 8/10/20 12:30 PM, Maarten Lankhorst wrote:
> Some i915 selftests still use i915_vma_lock() as inner lock, and
> intel_context_create_request() intel_timeline->mutex as outer lock.
> Fortunately for selftests this is not an issue, they should be fixed
> but we can move ahead and cleanify lockdep now.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Ugh. We should probably fix this properly as soon as possible to avoid 
copy-pasting of self-tests that aren't fixed yet.

For the hack:

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




More information about the Intel-gfx mailing list