Skip to content

Commit 47c65b3

Browse files
johnharr-inteldceraolo
authored andcommitted
drm/i915/uc: Use platform specific defaults for GuC/HuC enabling
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 <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Daniele Ceraolo Spurio <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 40e1956 commit 47c65b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpu/drm/i915/i915_params.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ i915_param_named_unsafe(edp_vswing, int, 0400,
160160
i915_param_named_unsafe(enable_guc, int, 0400,
161161
"Enable GuC load for GuC submission and/or HuC load. "
162162
"Required functionality can be selected using bitmask values. "
163-
"(-1=auto, 0=disable [default], 1=GuC submission, 2=HuC load)");
163+
"(-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load)");
164164

165165
i915_param_named(guc_log_level, int, 0400,
166166
"GuC firmware logging level. Requires GuC to be loaded. "

drivers/gpu/drm/i915/i915_params.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct drm_printer;
5959
param(int, disable_power_well, -1, 0400) \
6060
param(int, enable_ips, 1, 0600) \
6161
param(int, invert_brightness, 0, 0600) \
62-
param(int, enable_guc, 0, 0400) \
62+
param(int, enable_guc, -1, 0400) \
6363
param(int, guc_log_level, -1, 0400) \
6464
param(char *, guc_firmware_path, NULL, 0400) \
6565
param(char *, huc_firmware_path, NULL, 0400) \

0 commit comments

Comments
 (0)