From a75ecdfc8d89be7fff1789b2d51158533b4c81a0 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Wed, 19 Apr 2023 10:34:29 -0400 Subject: [PATCH] t440p: Enable i915 kexec framebuffer fixes Add CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM and related kernel parameters to t440p. This board is already on kernel 5.10 and uses i915 graphics. Signed-off-by: Jonathon Hall --- config/coreboot-t440p.config | 2 +- config/linux-t440p.config | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/coreboot-t440p.config b/config/coreboot-t440p.config index 128125a0..a6140b85 100644 --- a/config/coreboot-t440p.config +++ b/config/coreboot-t440p.config @@ -7,7 +7,7 @@ CONFIG_ME_BIN_PATH="@BLOB_DIR@/t440p/me.bin" CONFIG_GBE_BIN_PATH="@BLOB_DIR@/t440p/gbe.bin" CONFIG_HAVE_IFD_BIN=y CONFIG_BOARD_LENOVO_THINKPAD_T440P=y -CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off" +CONFIG_LINUX_COMMAND_LINE="intel_iommu=igfx_off drm_kms_helper.drm_leak_fbdev_smem=1 i915.enable_fbc=0" CONFIG_TPM_MEASURED_BOOT=y CONFIG_HAVE_MRC=y CONFIG_MRC_FILE="@BLOB_DIR@/haswell/mrc.bin" diff --git a/config/linux-t440p.config b/config/linux-t440p.config index 3aa08a2c..deea2c75 100644 --- a/config/linux-t440p.config +++ b/config/linux-t440p.config @@ -199,6 +199,7 @@ CONFIG_I2C_SLAVE=y # CONFIG_X86_PKG_TEMP_THERMAL is not set CONFIG_MFD_SYSCON=y CONFIG_DRM=y +CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM=y CONFIG_DRM_I915=y CONFIG_DRM_AST=y CONFIG_FB_VESA=y