Re: [PATCH v2 6/8] drm/i915: Drop the irqs_disabled() check

2024-06-19 Thread Tvrtko Ursulin
On 13/06/2024 11:20, Sebastian Andrzej Siewior wrote: The !irqs_disabled() check triggers on PREEMPT_RT even with i915_sched_engine::lock acquired. The reason is the lock is transformed into a sleeping lock on PREEMPT_RT and does not disable interrupts. There is no need to check for disabled i

[PATCH v2 6/8] drm/i915: Drop the irqs_disabled() check

2024-06-13 Thread Sebastian Andrzej Siewior
The !irqs_disabled() check triggers on PREEMPT_RT even with i915_sched_engine::lock acquired. The reason is the lock is transformed into a sleeping lock on PREEMPT_RT and does not disable interrupts. There is no need to check for disabled interrupts. The lockdep annotation below already check if t