]> git.dujemihanovic.xyz Git - linux.git/commit
drm/i915: Pick the backlight controller based on VBT on ICP+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Feb 2023 06:43:37 +0000 (08:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2023 01:07:56 +0000 (03:07 +0200)
commitb33771546309b46b681388b3540b69a75a0e2e69
tree8202edf7e7c13a62cab722db59d7370c48bdd8e7
parentba00eb6a4bfbe5194ddda50730aba063951f8ce0
drm/i915: Pick the backlight controller based on VBT on ICP+

Use the second backlight controller on ICP+ if the VBT asks
us to do so.

On pre-MTP we also check the chicken bit to make sure the
pins have been correctly muxed by the firmware.

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8016
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230207064337.18697-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_backlight.c