All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] drm/i915: Disable DSB in Xe KMD
@ 2024-01-04 16:05 José Roberto de Souza
  2024-01-04 16:05 ` [PATCH v3 2/2] drm/xe: Fix definition of intel_wakeref_t José Roberto de Souza
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: José Roberto de Souza @ 2024-01-04 16:05 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Jani Nikula, Rodrigo Vivi

Often getting DBS overflows when starting Xorg or Wayland compositors
when running Xe KMD.
Issue was reported but nothing was done, so disabling DSB as whole
until properly fixed in Xe KMD.

v2:
- move check to HAS_DSB(Jani)

v3:
- use IS_ENABLED(I915) check in intel_dsb_prepare()

Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/989
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1031
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1072
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dsb.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
index 482c28b5c2de5..a6c7122fd671d 100644
--- a/drivers/gpu/drm/i915/display/intel_dsb.c
+++ b/drivers/gpu/drm/i915/display/intel_dsb.c
@@ -453,6 +453,10 @@ struct intel_dsb *intel_dsb_prepare(const struct intel_crtc_state *crtc_state,
 	if (!HAS_DSB(i915))
 		return NULL;
 
+	/* TODO: DSB is broken in Xe KMD, so disabling it until fixed */
+	if (!IS_ENABLED(I915))
+		return NULL;
+
 	dsb = kzalloc(sizeof(*dsb), GFP_KERNEL);
 	if (!dsb)
 		goto out;
-- 
2.43.0


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

end of thread, other threads:[~2024-01-04 21:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 16:05 [PATCH v3 1/2] drm/i915: Disable DSB in Xe KMD José Roberto de Souza
2024-01-04 16:05 ` [PATCH v3 2/2] drm/xe: Fix definition of intel_wakeref_t José Roberto de Souza
2024-01-04 16:16 ` [PATCH v3 1/2] drm/i915: Disable DSB in Xe KMD Francois Dugast
2024-01-04 16:54 ` Jani Nikula
2024-01-04 19:53 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [v3,1/2] " Patchwork
2024-01-04 19:53 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-01-04 20:03 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-04 20:22 ` ✓ CI.Patch_applied: " Patchwork
2024-01-04 20:22 ` ✗ CI.checkpatch: warning " Patchwork
2024-01-04 20:23 ` ✓ CI.KUnit: success " Patchwork
2024-01-04 20:26 ` ✗ CI.Build: failure " Patchwork
2024-01-04 21:20 ` ✗ Fi.CI.IGT: " 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.