]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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)
committerJani Nikula <jani.nikula@intel.com>
Thu, 16 Feb 2023 16:35:18 +0000 (18:35 +0200)
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
drivers/gpu/drm/i915/display/intel_quirks.c

index 6e48d3bcdfec5acf4c1d582bf6f7b6cf95d46fdd..a280448df771a923dc4551eb758185abced27bc6 100644 (file)
@@ -199,6 +199,8 @@ static struct intel_quirk intel_quirks[] = {
        /* ECS Liva Q2 */
        { 0x3185, 0x1019, 0xa94d, quirk_increase_ddi_disabled_time },
        { 0x3184, 0x1019, 0xa94d, quirk_increase_ddi_disabled_time },
+       /* HP Notebook - 14-r206nv */
+       { 0x0f31, 0x103c, 0x220f, quirk_invert_brightness },
 };
 
 void intel_init_quirks(struct drm_i915_private *i915)