diff options
author | Simon Rettberg | 2021-04-27 17:09:46 +0200 |
---|---|---|
committer | Your Name | 2021-04-27 17:09:46 +0200 |
commit | c9946eeb228ef39b8756970a19ec097a038a04df (patch) | |
tree | bdacc48a405ceb09d57a934e31a7d7af10ba4c1c /core/modules/kernel-vanilla | |
parent | [xscreensaver] Revert to 5.40 (diff) | |
download | mltk-c9946eeb228ef39b8756970a19ec097a038a04df.tar.gz mltk-c9946eeb228ef39b8756970a19ec097a038a04df.tar.xz mltk-c9946eeb228ef39b8756970a19ec097a038a04df.zip |
[kernel-vanilla] Add "Patch" for i915 on IVB_GT1 and Baytrail
Diffstat (limited to 'core/modules/kernel-vanilla')
-rw-r--r-- | core/modules/kernel-vanilla/module.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/kernel-vanilla/module.build b/core/modules/kernel-vanilla/module.build index f8d5f351..81eff22e 100644 --- a/core/modules/kernel-vanilla/module.build +++ b/core/modules/kernel-vanilla/module.build @@ -52,6 +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." cd - # remember the current kernel version echo "${SYSTEM_KERNEL_LONG}" > ksrc/KVERSION |