[Intel-gfx] [PATCH 6/6] drm/i915/icl: Update port clock in compute config
Vandita Kulkarni
vandita.kulkarni at intel.com
Tue Nov 27 09:39:08 UTC 2018
For DSI 8X clock is AFE clock which is
is 5 times port clock.
Signed-off-by: Vandita Kulkarni <vandita.kulkarni at intel.com>
---
drivers/gpu/drm/i915/icl_dsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/icl_dsi.c b/drivers/gpu/drm/i915/icl_dsi.c
index 80382fb..2812129 100644
--- a/drivers/gpu/drm/i915/icl_dsi.c
+++ b/drivers/gpu/drm/i915/icl_dsi.c
@@ -1183,6 +1183,7 @@ static bool gen11_dsi_compute_config(struct intel_encoder *encoder,
pipe_config->cpu_transcoder = TRANSCODER_DSI_0;
pipe_config->clock_set = true;
+ pipe_config->port_clock = intel_dsi_bitrate(intel_dsi)/5;
//TODO: Add check if DSI PLL calculation is done
--
1.9.1
More information about the Intel-gfx
mailing list