All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] drm/i915: PREEMPT_RT related fixups.
@ 2021-10-26 11:40 ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 23+ messages in thread
From: Sebastian Andrzej Siewior @ 2021-10-26 11:40 UTC (permalink / raw)
  To: intel-gfx, dri-devel
  Cc: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, David Airlie,
	Daniel Vetter, Thomas Gleixner, Peter Zijlstra

the following patches are from the PREEMPT_RT queue. It is mostly about
disabling interrupts/preemption which leads to problems. Patches 1-4 are
independent of PREEMPT_RT.

Unfortunately DRM_I915_LOW_LEVEL_TRACEPOINTS had to be disabled because
it acquires locks from within trace points. It has been pointed out in
the previous post that this makes any kind of debugging impossible.
Making the uncore.lock a raw_spinlock_t doubles the latencies in my
limited testing [0]. I don't know the difference on other hardware. Also
it worries me a little that wait_for_atomic() has 50ms as the upper
spin/wait limit if the condition does not become true.

I tested it on a SandyBridge with built-in i915 by using X, OpenGL and
playing videos without noticing any warnings. However, some code paths
were not entered.

[0] https://lore.kernel.org/all/20211006164628.s2mtsdd2jdbfyf7g@linutronix.de/

Sebastian



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2021-10-26 13:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 11:40 [PATCH v2 0/9] drm/i915: PREEMPT_RT related fixups Sebastian Andrzej Siewior
2021-10-26 11:40 ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 1/9] drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock() Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 2/9] drm/i915/gt: Queue and wait for the irq_work item Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 3/9] drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock() Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 4/9] drm/i915: Drop the irqs_disabled() check Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 5/9] drm/i915: Use preempt_disable/enable_rt() where recommended Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 6/9] drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 7/9] drm/i915: Don't check for atomic context on PREEMPT_RT Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:40 ` [PATCH 8/9] drm/i915: Disable tracing points " Sebastian Andrzej Siewior
2021-10-26 11:40   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 11:41 ` [PATCH 9/9] drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE Sebastian Andrzej Siewior
2021-10-26 11:41   ` [Intel-gfx] " Sebastian Andrzej Siewior
2021-10-26 13:03 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: PREEMPT_RT related fixups. (rev3) Patchwork
2021-10-26 13:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-10-26 13:39 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.