drm/i915: Add PLL .compare_hw_state() vfunc
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Feb 2024 18:38:08 +0000 (20:38 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 14 Feb 2024 23:43:59 +0000 (01:43 +0200)
commit7ab52cb3489e4001444acdc23979fbf59305570c
tree5f5931cd575d17e0494ce36365358c7e07bad414
parentb56e24be5916cf8471f3cea998ad4352a78671ee
drm/i915: Add PLL .compare_hw_state() vfunc

Chunk up the humongous dpll_hw_state comparison check into per-platform
variants, implemented in the dpll_mgr. This is step one in allowing
each platform (or perhaps even PLL) type to have a custom hw state
structure instead of having to smash it all into one.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240209183809.16887-5-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.h