diff options
| author | Chris Wilson <[email protected]> | 2019-08-19 08:58:19 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-19 10:12:23 +0100 |
| commit | d67739268cf0ee928cdc5e8224090c59efacd653 (patch) | |
| tree | 75324d9b48a47246d177528f0e6678a5c6843d32 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 6a736ebf314a0b0813bae248ad3daa9154463798 (diff) | |
drm/i915/gt: Mark up the nested engine-pm timeline lock as irqsafe
We use a fake timeline->mutex lock to reassure lockdep that the timeline
is always locked when emitting requests. However, the use inside
__engine_park() may be inside hardirq and so lockdep now complains about
the mixed irq-state of the nested locked. Disable irqs around the
lockdep tracking to keep it happy.
Fixes: 6c69a45445af ("drm/i915/gt: Mark context->active_count as protected by timeline->mutex")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions