Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0692ede

Browse files
committedJan 21, 2025··
i915(FreeBSD): Restore "auto-enable" behavior of the GuC
[Why] This now possible after the following fix in FreeBSD src's linuxkpi: linuxkpi: Don't destroy the mutex in `xa_destroy()`
1 parent ea3fdd3 commit 0692ede

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed
 

‎drivers/gpu/drm/i915/i915_params.h

+1-8
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ struct drm_printer;
4949
* mode: debugfs file permissions, one of {0400, 0600, 0}, use 0 to not create
5050
* debugfs file
5151
*/
52-
#ifdef __FreeBSD__
53-
/* Changes in default values in I915_PARAMS_FOR_EACH below:
54-
*
55-
* enable_guc: -1 -> 0
56-
* GuC initialization freeze the computer.
57-
*/
58-
#endif
5952
#define I915_PARAMS_FOR_EACH(param) \
6053
param(char *, vbt_firmware, NULL, 0400) \
6154
param(int, modeset, -1, 0400) \
@@ -72,7 +65,7 @@ struct drm_printer;
7265
param(int, disable_power_well, -1, 0400) \
7366
param(int, enable_ips, 1, 0600) \
7467
param(int, invert_brightness, 0, 0600) \
75-
param(int, enable_guc, 0, 0400) \
68+
param(int, enable_guc, -1, 0400) \
7669
param(int, guc_log_level, -1, 0400) \
7770
param(char *, guc_firmware_path, NULL, 0400) \
7871
param(char *, huc_firmware_path, NULL, 0400) \

0 commit comments

Comments
 (0)
Please sign in to comment.