drm/i915/display: Abstract C10/C20 pll hw readout
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 18 Oct 2023 22:28:30 +0000 (15:28 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 29 Oct 2023 23:46:23 +0000 (16:46 -0700)
commit685a4fffbf0fe23618f1824924e6dbb2517b446a
tree4411da97a48634b6d261d8f715bbb6ecb11c4739
parent28066f38d94f846e66f4116a8b1c409b47072011
drm/i915/display: Abstract C10/C20 pll hw readout

intel_cx0_phy.[ch] should contain the details about C10/C20, not leaking
it to the rest of the driver. Start abstracting this by exporting a
single PLL hw readout that handles the differences between C20 and C10
internally to that compilation unit.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231018222831.4132968-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c
drivers/gpu/drm/i915/display/intel_cx0_phy.h
drivers/gpu/drm/i915/display/intel_ddi.c