mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
19 lines
501 B
Diff
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)) {
|