]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: panel: Add get_vbt_pwm_freq() helper
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Sep 2020 11:23:34 +0000 (13:23 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 6 Sep 2020 13:38:05 +0000 (15:38 +0200)
commit27a79cbc17e39b34f2fa9d3829e39ca50418c7f2
tree19d249984f31b057d4a73f6913bb2946d8dcfc65
parentc86b155da7d0700032eed00d37ee02310eb8a0b7
drm/i915: panel: Add get_vbt_pwm_freq() helper

Factor the code which checks and drm_dbg_kms-s the VBT PWM frequency
out of get_backlight_max_vbt().

This is a preparation patch for honering the VBT PWM frequency for
devices which use an external PWM controller (devices using
pwm_setup_backlight()).

Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200903112337.4113-15-hdegoede@redhat.com
drivers/gpu/drm/i915/display/intel_panel.c