diff options
| author | Suraj Kandpal <suraj.kandpal@intel.com> | 2026-08-11 23:28:42 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-08-12 13:26:56 -0400 |
| commit | bf49c86ec8aa82e8357d527a9d6df3ab650da2cc (patch) | |
| tree | fac073d32d1b2a7477f7fbc0044d64a8c70f1c4e /scripts | |
| parent | 29b2ceba61d2abfe5c066526beff7fa3cff59cc8 (diff) | |
| download | linux-next-bf49c86ec8aa82e8357d527a9d6df3ab650da2cc.tar.gz linux-next-bf49c86ec8aa82e8357d527a9d6df3ab650da2cc.zip | |
drm/i915/ddi: add helper to compute DDI clock frequency
Add intel_ddi_link_symbol_clock() to return the DDI clock frequency for
a given port clock:
DP 8b/10b : rate
DP 128b/132b (UHBR) : (10 / 32) * rate
HDMI FRL : (10 / 18) * rate
HDMI TMDS : rate
The DP case reuses intel_dp_link_symbol_clock().
This will help in upcoming commits to decide value to be written
in DDI_CLK_VALFREQ.
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20260811175844.2613721-2-suraj.kandpal@intel.com
(cherry picked from commit 5abc20e39dd074e8696387ca6871d6e432baf0cd)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
