drm/i915: Introduce intel_dpll_get_hw_state()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Nov 2020 23:12:36 +0000 (01:12 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Nov 2020 19:38:55 +0000 (21:38 +0200)
commitfdbc5d682e75ed53e923627d7aa79ff0cb134d79
tree6044d1433a7f7e213725362969ed79c401314c0a
parent3df3fe2412000fec34f9185f67f7c63d37b615ad
drm/i915: Introduce intel_dpll_get_hw_state()

Add a wrapper for the pll .get_hw_state() vfunc. Makes life
a bit less miserable when you don't have to worry where the
function pointer is stored.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201109231239.17002-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@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