OSDN Git Service

drm/i915: Introduce struct iclkip_params
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 4 May 2022 21:21:09 +0000 (00:21 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Jun 2022 10:34:56 +0000 (13:34 +0300)
commit97708335b04df3eef0e650b0601cdf6c5ab16dcd
tree3d92706d58dde89ed4e0d74ff713eb26df39b506
parent623411c293d180ed51f1c3b5753c5acf2c2a4077
drm/i915: Introduce struct iclkip_params

Pull the various iCLKIP parameters into a struct. Later on
we'll reuse this during the state computation to determine
the exact dotclock the hardware will be generating for us.

v2: Don't lose the phaseinc calculation
v3: Drop the misplaced '#include <intel_pch_refclk.h>' from intel_crt.c (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504212109.26369-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_pch_refclk.c