]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/backlight: Short circuit intel_dp_aux_supports_hdr_backlight
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 2 Mar 2026 04:06:10 +0000 (09:36 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 3 Mar 2026 02:58:54 +0000 (08:28 +0530)
commitc7677f4e7523be347551192c8cda9a0cfb7d4843
treeb50b65c61177bfb8c42c90e9b1049155925611cb
parente2b83593f6bced361cf3a45e6f290b5124527e74
drm/i915/backlight: Short circuit intel_dp_aux_supports_hdr_backlight

intel_dp_aux_supports_hdr_backlight() prints debug message for
intel HDR backlight version. This is fine when dealing with eDP 1.4b
and lower. When we are talking about eDP 1.5 it causes confusion in
logs since we need to use VESA AUX backlight functions but this
print causes confusion as to which path code take.
Short circuit this function with a eDP version check. Make sure this
is only called if eDP <= 1.4b

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patch.msgid.link/20260302040613.3324049-6-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c