Skip to content

Commit 5888368

Browse files
armurthyuma-intel
authored andcommitted
drm/i915: Remove the module parameter 'fastboot'
By default fastboot is enabled on all Display 9+ platforms and disabled on older platforms. Its not necessary to retain this as a module parameter. Signed-off-by: Arun R Murthy <[email protected]> Acked-by: Jani Nikula <[email protected]> Signed-off-by: Uma Shankar <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0f5b114 commit 5888368

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4988,9 +4988,6 @@ pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
49884988

49894989
static bool fastboot_enabled(struct drm_i915_private *dev_priv)
49904990
{
4991-
if (dev_priv->params.fastboot != -1)
4992-
return dev_priv->params.fastboot;
4993-
49944991
/* Enable fastboot by default on Skylake and newer */
49954992
if (DISPLAY_VER(dev_priv) >= 9)
49964993
return true;

drivers/gpu/drm/i915/i915_params.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ i915_param_named_unsafe(enable_ips, int, 0400, "Enable IPS (default: true)");
137137
i915_param_named_unsafe(enable_dpt, bool, 0400,
138138
"Enable display page table (DPT) (default: true)");
139139

140-
i915_param_named(fastboot, int, 0400,
141-
"Try to skip unnecessary mode sets at boot time "
142-
"(0=disabled, 1=enabled) "
143-
"Default: -1 (use per-chip default)");
144-
145140
i915_param_named_unsafe(load_detect_test, bool, 0400,
146141
"Force-enable the VGA load detect code for testing (default:false). "
147142
"For developers only.");

drivers/gpu/drm/i915/i915_params.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ struct drm_printer;
7272
param(int, edp_vswing, 0, 0400) \
7373
param(unsigned int, reset, 3, 0600) \
7474
param(unsigned int, inject_probe_failure, 0, 0) \
75-
param(int, fastboot, -1, 0600) \
7675
param(int, enable_dpcd_backlight, -1, 0600) \
7776
param(char *, force_probe, CONFIG_DRM_I915_FORCE_PROBE, 0400) \
7877
param(unsigned int, request_timeout_ms, CONFIG_DRM_I915_REQUEST_TIMEOUT, CONFIG_DRM_I915_REQUEST_TIMEOUT ? 0600 : 0) \

0 commit comments

Comments
 (0)