lede/target/linux/x86/patches-6.6/992-enable-intel-guc.patch
aakkll 781ce8d148
kernel: bump 6.6 to 6.6.14 (#11827)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2024-01-26 12:42:34 +08:00

19 lines
501 B
Diff

--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -31,10 +31,14 @@ static void uc_expand_default_options(st
return;
/* Don't enable GuC/HuC on pre-Gen12 */
- if (GRAPHICS_VER(i915) < 12) {
+ if (GRAPHICS_VER(i915) < 9) {
i915->params.enable_guc = 0;
return;
}
+ if(GRAPHICS_VER(i915) < 11){
+ i915->params.enable_guc = 2;
+ return;
+ }
/* Don't enable GuC/HuC on older Gen12 platforms */
if (IS_TIGERLAKE(i915) || IS_ROCKETLAKE(i915)) {