drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
authorMavroudis Chatzilaridis <mavchatz@protonmail.com>
Wed, 1 Feb 2023 18:51:25 +0000 (18:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:40:14 +0000 (09:40 +0100)
commit6a5f31c3fbf3f2eea6a027145ba7923a5e9d9b07
treeb20b9c36e692c740e3870e40c381f02c4c493b4f
parent5f63c879ca955af919e22f05130eb27550b65ad1
drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv

commit 5e438bf7f9a1705ebcae5fa89cdbfbc6932a7871 upstream.

This laptop uses inverted backlight PWM. Thus, without this quirk,
backlight brightness decreases as the brightness value increases and
vice versa.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8013
Cc: stable@vger.kernel.org
Signed-off-by: Mavroudis Chatzilaridis <mavchatz@protonmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230201184947.8835-1-mavchatz@protonmail.com
(cherry picked from commit 83e7d6fd330d413cb2064e680ffea91b0512a520)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/display/intel_quirks.c