diff options
author | Jonathan Bauer | 2021-05-06 15:53:24 +0200 |
---|---|---|
committer | Jonathan Bauer | 2021-05-06 15:53:24 +0200 |
commit | 7e5e253d13588432e6cff9d2531b40c1392295a0 (patch) | |
tree | 876d9382f71061beee6bb916b2dfc5bd7482da09 | |
parent | [run-virt] Linux script's LIESMICH/README edited a bit. (diff) | |
download | mltk-7e5e253d13588432e6cff9d2531b40c1392295a0.tar.gz mltk-7e5e253d13588432e6cff9d2531b40c1392295a0.tar.xz mltk-7e5e253d13588432e6cff9d2531b40c1392295a0.zip |
[kernel-vanilla] only warn when patching i915 fails
-rw-r--r-- | core/modules/kernel-vanilla/module.build | 2 |
1 files changed, 1 insertions, 1 deletions
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 |