summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_engine_cs.c
diff options
context:
space:
mode:
authorManasi Navare <manasi.d.navare@intel.com>2018-08-17 14:52:09 -0700
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2018-08-20 14:38:41 -0700
commit7b19f544ed90b7ca4bd850145e2624a99a967de0 (patch)
tree6e3fe234c942973c781400ea3e298cfa3f3ca614 /drivers/gpu/drm/i915/intel_engine_cs.c
parentbcaad532974eb47f1fb4ee04ede9812107060245 (diff)
downloadlwn-7b19f544ed90b7ca4bd850145e2624a99a967de0.tar.gz
lwn-7b19f544ed90b7ca4bd850145e2624a99a967de0.zip
drm/i915/icl: Get DDI clock for ICL for MG PLL and TBT PLL
PLLs are the source clocks for the DDIs so in order to determine the ddi clock we need to check the PLL configuration. For MG PHy Ports (C - F), depending on whether it is a TBT PLL or MG PLL the link lock can be obtained from the the PLL divisors based on the specification. v2 (from Paulo): * Make the algorithm look more like what's in the spec, also document where we differ form the spec and why. * Make the code a little more consistent with our coding style. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180817215209.29133-2-paulo.r.zanoni@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_engine_cs.c')
0 files changed, 0 insertions, 0 deletions