From 80e2cea4aa2ebc1b84210c03f0ba191a4c152576 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 5 Oct 2022 15:22:33 +0200 Subject: [PATCH] dde_linux: enable Intel Alderlake graphics With this patch, the Intel framebuffer driver works on the Framework Gen12 laptop. Fixes #4627 --- repos/dde_linux/patches/i915_alderlake.patch | 10 ++++++++++ repos/dde_linux/ports/linux.hash | 2 +- repos/dde_linux/ports/linux.port | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 repos/dde_linux/patches/i915_alderlake.patch diff --git a/repos/dde_linux/patches/i915_alderlake.patch b/repos/dde_linux/patches/i915_alderlake.patch new file mode 100644 index 0000000000..c789047c64 --- /dev/null +++ b/repos/dde_linux/patches/i915_alderlake.patch @@ -0,0 +1,10 @@ ++++ src/linux/drivers/gpu/drm/i915/i915_pci.c +@@ -954,7 +954,7 @@ + XE_LPD_FEATURES, + PLATFORM(INTEL_ALDERLAKE_P), + .has_cdclk_crawl = 1, +- .require_force_probe = 1, ++ .require_force_probe = 0, + .display.has_modular_fia = 1, + .platform_engine_mask = + BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | BIT(VCS2), diff --git a/repos/dde_linux/ports/linux.hash b/repos/dde_linux/ports/linux.hash index 68028b4d6c..9a3b2b669a 100644 --- a/repos/dde_linux/ports/linux.hash +++ b/repos/dde_linux/ports/linux.hash @@ -1 +1 @@ -7dfb92febaf5942b4b84612dcca182eddb088a00 +340e0ebc16b91aab3ff33d3d03611dcddd02d450 diff --git a/repos/dde_linux/ports/linux.port b/repos/dde_linux/ports/linux.port index e6cca8823c..f03066519a 100644 --- a/repos/dde_linux/ports/linux.port +++ b/repos/dde_linux/ports/linux.port @@ -9,8 +9,8 @@ DIR(linux) := src/linux # # Patches # -PATCHES += $(addprefix patches/,$(notdir $(REP_DIR)/patches/i915_irq.patch)) -PATCHES += $(addprefix patches/,$(notdir $(REP_DIR)/patches/xhci_abort_ring.patch)) +PATCH_FILES := i915_irq.patch i915_alderlake.patch xhci_abort_ring.patch +PATCHES += $(addprefix patches/,$(PATCH_FILES)) # i915 PATCH_OPT(patches/i915_irq.patch) := -p1 -d${DIR(linux)}