]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915: Don't use VBT for detecting DPCD backlight controls"
authorLyude Paul <lyude@redhat.com>
Tue, 4 Feb 2020 19:28:09 +0000 (14:28 -0500)
committerJani Nikula <jani.nikula@intel.com>
Fri, 7 Feb 2020 11:06:54 +0000 (13:06 +0200)
commit7d4f28cbeaa65cc24034b78fe097dec1fafd999f
tree192bd6b7c8b75be8f54d338a1eaa9d6877c5bc5c
parent0112bf55719df6fc497f644fc692fe2e750cea0d
Revert "drm/i915: Don't use VBT for detecting DPCD backlight controls"

This reverts commit 833d7790dc654ced8d132d3194e1c713ac6592dc.

So, turns out that this ended up just breaking things. While many
laptops incorrectly advertise themselves as supporting PWM backlight
controls, they actually will only work with DPCD backlight controls.
Unfortunately, it also seems there are a number of systems which
advertise DPCD backlight controls in their eDP DPCD but don't actually
support them. Talking with some laptop manufacturers has shown it might
be possible to probe this support via the EDID (!?!?) but I haven't been
able to confirm that this would work on any other manufacturer's
systems.

So in the mean time, we'll just revert this commit for now and go back
to the old way of doing things.

Fixes: 833d7790dc65 ("drm/i915: Don't use VBT for detecting DPCD backlight controls")
Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200204192823.111404-2-lyude@redhat.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c