]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/display: Store hw clock for C20
authorMika Kahola <mika.kahola@intel.com>
Tue, 2 Jan 2024 11:57:40 +0000 (13:57 +0200)
committerMika Kahola <mika.kahola@intel.com>
Thu, 4 Jan 2024 09:42:26 +0000 (11:42 +0200)
commit172516e153c9269e02cfd64f11df7142c482ffe2
tree8a4638a9a7455be620d36591988a124e03314459
parentf4304beadd88d074333b23fdc7f35d00ee763e14
drm/i915/display: Store hw clock for C20

We can calculate the hw port clock during the hw readout
and store it as pll_state->clock for C20 state verification.
In order to do that we need to move intel_c20pll_calc_port_clock()
function.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240102115741.118525-3-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c