All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Remove the module parameter 'fastboot'
@ 2023-09-26  9:11 Arun R Murthy
  2023-09-26  9:40 ` Jani Nikula
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Arun R Murthy @ 2023-09-26  9:11 UTC (permalink / raw)
  To: intel-gfx, jani.nikula

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 <arun.r.murthy@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 3 ---
 drivers/gpu/drm/i915/i915_params.c           | 5 -----
 drivers/gpu/drm/i915/i915_params.h           | 1 -
 3 files changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index edbcf5968804..9d6e2d19d636 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -4986,9 +4986,6 @@ pipe_config_mismatch(bool fastset, const struct intel_crtc *crtc,
 
 static bool fastboot_enabled(struct drm_i915_private *dev_priv)
 {
-	if (dev_priv->params.fastboot != -1)
-		return dev_priv->params.fastboot;
-
 	/* Enable fastboot by default on Skylake and newer */
 	if (DISPLAY_VER(dev_priv) >= 9)
 		return true;
diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
index 0a171b57fd8f..036c4c3ed6ed 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
@@ -137,11 +137,6 @@ i915_param_named_unsafe(enable_ips, int, 0400, "Enable IPS (default: true)");
 i915_param_named_unsafe(enable_dpt, bool, 0400,
 	"Enable display page table (DPT) (default: true)");
 
-i915_param_named(fastboot, int, 0400,
-	"Try to skip unnecessary mode sets at boot time "
-	"(0=disabled, 1=enabled) "
-	"Default: -1 (use per-chip default)");
-
 i915_param_named_unsafe(load_detect_test, bool, 0400,
 	"Force-enable the VGA load detect code for testing (default:false). "
 	"For developers only.");
diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h
index 68abf0ad6c00..d5194b039aab 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu/drm/i915/i915_params.h
@@ -72,7 +72,6 @@ struct drm_printer;
 	param(int, edp_vswing, 0, 0400) \
 	param(unsigned int, reset, 3, 0600) \
 	param(unsigned int, inject_probe_failure, 0, 0) \
-	param(int, fastboot, -1, 0600) \
 	param(int, enable_dpcd_backlight, -1, 0600) \
 	param(char *, force_probe, CONFIG_DRM_I915_FORCE_PROBE, 0400) \
 	param(unsigned int, request_timeout_ms, CONFIG_DRM_I915_REQUEST_TIMEOUT, CONFIG_DRM_I915_REQUEST_TIMEOUT ? 0600 : 0) \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-10-12 21:33 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26  9:11 [Intel-gfx] [PATCH] drm/i915: Remove the module parameter 'fastboot' Arun R Murthy
2023-09-26  9:40 ` Jani Nikula
2023-09-26 16:35 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2023-09-26 16:48 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-09-27  4:20 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-27 12:58 ` [Intel-gfx] [PATCH] " Ville Syrjälä
2023-09-27 14:30   ` Murthy, Arun R
2023-10-05  5:43 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Remove the module parameter 'fastboot' (rev2) Patchwork
2023-10-05  5:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-06  0:48 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Remove the module parameter 'fastboot' (rev3) Patchwork
2023-10-06  0:59 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-10 11:03 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Remove the module parameter 'fastboot' (rev4) Patchwork
2023-10-10 11:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-10 18:25 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-10-12  4:17 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Remove the module parameter 'fastboot' (rev5) Patchwork
2023-10-12  4:34 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-12  6:02 ` [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Remove the module parameter 'fastboot' (rev4) Patchwork
2023-10-12  7:20 ` [Intel-gfx] [PATCH] drm/i915: Remove the module parameter 'fastboot' Shankar, Uma
2023-10-12 21:33 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Remove the module parameter 'fastboot' (rev5) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.