]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dpcd_bl: uncheck PWM_PIN_CAP when detect eDP backlight capabilities
authorAaron Ma <aaron.ma@canonical.com>
Fri, 9 Oct 2020 08:57:49 +0000 (16:57 +0800)
committerLyude Paul <lyude@redhat.com>
Mon, 12 Oct 2020 23:37:15 +0000 (19:37 -0400)
commit74485c234f5414ef134bb8830070ae4c21f5c2aa
treeaa52d0aef865fb7073615747b5c78cb708a48a27
parentb09cdc9d0e4918d64df1a5c1e37351467a097522
drm/i915/dpcd_bl: uncheck PWM_PIN_CAP when detect eDP backlight capabilities

BOE panel with ID 2270 claims both PWM_PIN_CAP and AUX_SET_CAP backlight
control bits, but default chip backlight failed to control brightness.

Check AUX_SET_CAP and proceed to check quirks or VBT backlight type.
DPCD can control the brightness of this pannel.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201009085750.88490-1-aaron.ma@canonical.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c