From 7e5e253d13588432e6cff9d2531b40c1392295a0 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 6 May 2021 15:53:24 +0200 Subject: [kernel-vanilla] only warn when patching i915 fails --- core/modules/kernel-vanilla/module.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/kernel-vanilla/module.build b/core/modules/kernel-vanilla/module.build index 9886640a..3459dc21 100644 --- a/core/modules/kernel-vanilla/module.build +++ b/core/modules/kernel-vanilla/module.build @@ -52,7 +52,7 @@ fetch_source() { git apply < "$patch" || perror "Could not apply $patch" echo "$patch" >> "patches-done" done - sed -i 's/batch_add(&cmds, 0xffff0000);/batch_add(\&cmds, 0xffff0000 | ((IS_IVB_GT1(i915) || IS_VALLEYVIEW(i915)) ? HIZ_RAW_STALL_OPT_DISABLE : 0));/' "drivers/gpu/drm/i915/gt/gen7_renderclear.c" || perror "Could not patch Ivybridge/Baytrail graphics." + sed -i 's/batch_add(&cmds, 0xffff0000);/batch_add(\&cmds, 0xffff0000 | ((IS_IVB_GT1(i915) || IS_VALLEYVIEW(i915)) ? HIZ_RAW_STALL_OPT_DISABLE : 0));/' "drivers/gpu/drm/i915/gt/gen7_renderclear.c" || pwarning "Could not patch Ivybridge/Baytrail graphics." cd - # remember the current kernel version echo "${SYSTEM_KERNEL_LONG}" > ksrc/KVERSION -- cgit v1.2.3-55-g7522