From 53e432ed149858c0d121a400f47aa84ce0ecef29 Mon Sep 17 00:00:00 2001 From: mglae Date: Sun, 11 Oct 2020 15:36:59 +0200 Subject: [PATCH] linux: Intel Haswell black screen fix for Generic --- ...porary_i915_haswell_black_screen_fix.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/Generic/patches/linux/linux-100-temporary_i915_haswell_black_screen_fix.patch diff --git a/projects/Generic/patches/linux/linux-100-temporary_i915_haswell_black_screen_fix.patch b/projects/Generic/patches/linux/linux-100-temporary_i915_haswell_black_screen_fix.patch new file mode 100644 index 0000000000..d6c715afd7 --- /dev/null +++ b/projects/Generic/patches/linux/linux-100-temporary_i915_haswell_black_screen_fix.patch @@ -0,0 +1,21 @@ + +Starting with kernel 5.7 there are GPU hangs on Intel Haswell CPUs. + +See https://gitlab.freedesktop.org/drm/intel/-/issues/2024 + +Patch set https://patchwork.freedesktop.org/series/74363/ was identified to cause the issue +and is disabled by this patch. The patch and the failing code only affects Haswell CPUs. + +diff --git a/drivers/gpu/drm/i915/gt/intel_ring_submission.c b/drivers/gpu/drm/i915/gt/intel_ring_submission.c +index 68a08486fc87..51545897f1ec 100644 +--- a/drivers/gpu/drm/i915/gt/intel_ring_submission.c ++++ b/drivers/gpu/drm/i915/gt/intel_ring_submission.c +@@ -2083,7 +2083,7 @@ int intel_ring_submission_setup(struct intel_engine_cs *engine) + + GEM_BUG_ON(timeline->hwsp_ggtt != engine->status_page.vma); + +- if (IS_HASWELL(engine->i915) && engine->class == RENDER_CLASS) { ++ if (IS_HASWELL(engine->i915) && engine->class == RENDER_CLASS && 0) { + err = gen7_ctx_switch_bb_init(engine); + if (err) + goto err_ring_unpin;