summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_display_params.c
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2023-10-24 15:40:55 +0300
committerJouni Högander <jouni.hogander@intel.com>2023-10-26 12:14:44 +0300
commit0deee706f116778429d03131efb7d29273442d9c (patch)
treee9e32618b60f70c2fd14d33b4e49032c4be40e91 /drivers/gpu/drm/i915/display/intel_display_params.c
parent5fb2e673c76d27436b02cef6c6f9669e106c1b1b (diff)
downloadlinux-0deee706f116778429d03131efb7d29273442d9c.tar.xz
drm/i915/display: Move enable_dc module parameter under display
Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231024124109.384973-10-jouni.hogander@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_params.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display_params.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_params.c b/drivers/gpu/drm/i915/display/intel_display_params.c
index d11c74ba001e..60fa0bbce77d 100644
--- a/drivers/gpu/drm/i915/display/intel_display_params.c
+++ b/drivers/gpu/drm/i915/display/intel_display_params.c
@@ -42,6 +42,11 @@ intel_display_param_named_unsafe(vbt_sdvo_panel_type, int, 0400,
"Override/Ignore selection of SDVO panel mode in the VBT "
"(-2=ignore, -1=auto [default], index in VBT BIOS table)");
+intel_display_param_named_unsafe(enable_dc, int, 0400,
+ "Enable power-saving display C-states. "
+ "(-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; "
+ "3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO)");
+
intel_display_param_named_unsafe(enable_fbc, int, 0400,
"Enable frame buffer compression for power savings "
"(default: -1 (use per-chip default))");