]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/uc: Use platform specific defaults for GuC/HuC enabling
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 3 Jun 2021 16:48:12 +0000 (09:48 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 9 Jun 2021 17:52:03 +0000 (10:52 -0700)
The meaning of 'default' for the enable_guc module parameter has been
updated to accurately reflect what is supported on current platforms.
So start using the defaults instead of forcing everything off.
Although, note that right now, the default is for everything to be off
anyway. So this is not a change for current platforms.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603164812.19045-2-matthew.brost@intel.com
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h

index 0320878d96b0b971cb002f954ea8364f276d0148..e07f4cfea63a8c9d79cd95a4841aa7d5d02eff98 100644 (file)
@@ -160,7 +160,7 @@ i915_param_named_unsafe(edp_vswing, int, 0400,
 i915_param_named_unsafe(enable_guc, int, 0400,
        "Enable GuC load for GuC submission and/or HuC load. "
        "Required functionality can be selected using bitmask values. "
-       "(-1=auto, 0=disable [default], 1=GuC submission, 2=HuC load)");
+       "(-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load)");
 
 i915_param_named(guc_log_level, int, 0400,
        "GuC firmware logging level. Requires GuC to be loaded. "
index 4a114a5ad000f2d250e78cf5904eec039567ffda..f27eceb82c0f523e5c5eff06c3ba597aa2596a20 100644 (file)
@@ -59,7 +59,7 @@ struct drm_printer;
        param(int, disable_power_well, -1, 0400) \
        param(int, enable_ips, 1, 0600) \
        param(int, invert_brightness, 0, 0600) \
-       param(int, enable_guc, 0, 0400) \
+       param(int, enable_guc, -1, 0400) \
        param(int, guc_log_level, -1, 0400) \
        param(char *, guc_firmware_path, NULL, 0400) \
        param(char *, huc_firmware_path, NULL, 0400) \