]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Split intel_ddi_compute_min_voltage_level() into platform variants
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Nov 2023 11:51:36 +0000 (13:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Dec 2023 18:50:16 +0000 (20:50 +0200)
commit46bdb77d8b61e560ebb95c8d3a355be84b5492d2
tree5aa0356b455deff37746685155821798018326ad
parent273361f54e5bcaccdd725a9ffac14a9fac672451
drm/i915: Split intel_ddi_compute_min_voltage_level() into platform variants

The mess inside intel_ddi_compute_min_voltage_level() is illegible.
Clean it up a bit by splitting the internals into per-platform
functions.

TODO: make it a vfunc?

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231128115138.13238-7-ville.syrjala@linux.intel.com
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c