diff options
author | Hans de Goede <[email protected]> | 2020-02-21 18:29:26 +0100 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2020-03-04 16:52:21 +0100 |
commit | d59b1d1bdffa62291958d14f4e1ea69bb65958a6 (patch) | |
tree | 6e45fe1d01a53ad662fa6e9368b87a2a93a6d933 /lib/test_overflow.c | |
parent | 8e9f84cf5cac248a1c6a5daa4942879c8b765058 (diff) |
drm/i915: panel: Use intel_panel_compute_brightness() from pwm_setup_backlight()
Use intel_panel_compute_brightness() from pwm_setup_backlight() so that
we correctly take i915_modparams.invert_brightness and/or
QUIRK_INVERT_BRIGHTNESS into account when setting + getting the initial
brightness value.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions