Commit 98a4784e authored by Jouni Högander's avatar Jouni Högander
parent 5621e065
...@@ -841,7 +841,7 @@ intel_crt_detect(struct drm_connector *connector, ...@@ -841,7 +841,7 @@ intel_crt_detect(struct drm_connector *connector,
if (!intel_display_device_enabled(dev_priv)) if (!intel_display_device_enabled(dev_priv))
return connector_status_disconnected; return connector_status_disconnected;
if (dev_priv->params.load_detect_test) { if (dev_priv->display.params.load_detect_test) {
wakeref = intel_display_power_get(dev_priv, wakeref = intel_display_power_get(dev_priv,
intel_encoder->power_domain); intel_encoder->power_domain);
goto load_detect; goto load_detect;
...@@ -901,7 +901,7 @@ intel_crt_detect(struct drm_connector *connector, ...@@ -901,7 +901,7 @@ intel_crt_detect(struct drm_connector *connector,
else if (DISPLAY_VER(dev_priv) < 4) else if (DISPLAY_VER(dev_priv) < 4)
status = intel_crt_load_detect(crt, status = intel_crt_load_detect(crt,
to_intel_crtc(connector->state->crtc)->pipe); to_intel_crtc(connector->state->crtc)->pipe);
else if (dev_priv->params.load_detect_test) else if (dev_priv->display.params.load_detect_test)
status = connector_status_disconnected; status = connector_status_disconnected;
else else
status = connector_status_unknown; status = connector_status_unknown;
......
...@@ -76,6 +76,10 @@ intel_display_param_named(enable_dpcd_backlight, int, 0400, ...@@ -76,6 +76,10 @@ intel_display_param_named(enable_dpcd_backlight, int, 0400,
"Enable support for DPCD backlight control" "Enable support for DPCD backlight control"
"(-1=use per-VBT LFP backlight type setting [default], 0=disabled, 1=enable, 2=force VESA interface, 3=force Intel interface)"); "(-1=use per-VBT LFP backlight type setting [default], 0=disabled, 1=enable, 2=force VESA interface, 3=force Intel interface)");
intel_display_param_named_unsafe(load_detect_test, bool, 0400,
"Force-enable the VGA load detect code for testing (default:false). "
"For developers only.");
intel_display_param_named_unsafe(enable_fbc, int, 0400, intel_display_param_named_unsafe(enable_fbc, int, 0400,
"Enable frame buffer compression for power savings " "Enable frame buffer compression for power savings "
"(default: -1 (use per-chip default))"); "(default: -1 (use per-chip default))");
......
...@@ -36,6 +36,7 @@ struct drm_i915_private; ...@@ -36,6 +36,7 @@ struct drm_i915_private;
param(int, invert_brightness, 0, 0600) \ param(int, invert_brightness, 0, 0600) \
param(int, edp_vswing, 0, 0400) \ param(int, edp_vswing, 0, 0400) \
param(int, enable_dpcd_backlight, -1, 0600) \ param(int, enable_dpcd_backlight, -1, 0600) \
param(bool, load_detect_test, false, 0600) \
param(int, enable_fbc, -1, 0600) \ param(int, enable_fbc, -1, 0600) \
param(int, enable_psr, -1, 0600) \ param(int, enable_psr, -1, 0600) \
param(bool, psr_safest_params, false, 0400) \ param(bool, psr_safest_params, false, 0400) \
......
...@@ -86,10 +86,6 @@ i915_param_named_unsafe(force_probe, charp, 0400, ...@@ -86,10 +86,6 @@ i915_param_named_unsafe(force_probe, charp, 0400,
"Force probe options for specified supported devices. " "Force probe options for specified supported devices. "
"See CONFIG_DRM_I915_FORCE_PROBE for details."); "See CONFIG_DRM_I915_FORCE_PROBE for details.");
i915_param_named_unsafe(load_detect_test, bool, 0400,
"Force-enable the VGA load detect code for testing (default:false). "
"For developers only.");
i915_param_named_unsafe(force_reset_modeset_test, bool, 0400, i915_param_named_unsafe(force_reset_modeset_test, bool, 0400,
"Force a modeset during gpu reset for testing (default:false). " "Force a modeset during gpu reset for testing (default:false). "
"For developers only."); "For developers only.");
......
...@@ -63,7 +63,6 @@ struct drm_printer; ...@@ -63,7 +63,6 @@ struct drm_printer;
param(unsigned int, lmem_bar_size, 0, 0400) \ param(unsigned int, lmem_bar_size, 0, 0400) \
/* leave bools at the end to not create holes */ \ /* leave bools at the end to not create holes */ \
param(bool, enable_hangcheck, true, 0600) \ param(bool, enable_hangcheck, true, 0600) \
param(bool, load_detect_test, false, 0600) \
param(bool, force_reset_modeset_test, false, 0600) \ param(bool, force_reset_modeset_test, false, 0600) \
param(bool, error_capture, true, IS_ENABLED(CONFIG_DRM_I915_CAPTURE_ERROR) ? 0600 : 0) \ param(bool, error_capture, true, IS_ENABLED(CONFIG_DRM_I915_CAPTURE_ERROR) ? 0600 : 0) \
param(bool, disable_display, false, 0400) \ param(bool, disable_display, false, 0400) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment