drm/i915/adl_p: Program DP/HDMI link rate to DDI_BUF_CTL
authorImre Deak <imre.deak@intel.com>
Wed, 19 May 2021 00:06:23 +0000 (17:06 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 May 2021 06:59:32 +0000 (23:59 -0700)
commit414002f1bb8e5a7824ed43373d8de9ba7c658301
treead2b167261629ed574b40c906d6ae4ba9c5d838f
parent226c83263b10133c4f68ae6d39b1cf26e3d6b970
drm/i915/adl_p: Program DP/HDMI link rate to DDI_BUF_CTL

On ADL_P besides programming the PLL accordingly the DP/HDMI link rate
should be also programmed to the DDI_BUF_CTL register, do that.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519000625.3184321-16-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_reg.h