summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_hdmi.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-11-07 21:46:00 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-11-17 19:11:07 +0200
commit95067dc6481509fe3b9959cd1d36fc744508de11 (patch)
tree61fe65184d973e251afd79fae834841b577b3ec6 /drivers/gpu/drm/i915/display/intel_hdmi.c
parent9c1f06d9a76ae7e7a50f7eaeb892f851de9c86fb (diff)
downloadlinux-95067dc6481509fe3b9959cd1d36fc744508de11.tar.gz
linux-95067dc6481509fe3b9959cd1d36fc744508de11.tar.bz2
linux-95067dc6481509fe3b9959cd1d36fc744508de11.zip
drm/i915: Introduce g4x_hdmi_compute_config()
Start pulling some of the more platform specific things out from intel_hdmi_compute_config(). has_pch_encoder is clearly one such thing. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221107194604.15227-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_hdmi.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_hdmi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index 1119eb423a5f..389fa36c91e7 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -2258,9 +2258,6 @@ int intel_hdmi_compute_config(struct intel_encoder *encoder,
if (adjusted_mode->flags & DRM_MODE_FLAG_DBLCLK)
pipe_config->pixel_multiplier = 2;
- if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv))
- pipe_config->has_pch_encoder = true;
-
pipe_config->has_audio =
intel_hdmi_has_audio(encoder, pipe_config, conn_state);