Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2 -2
+2 -2
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
··· 692 692 * Also there is a chance some VBTs may advertise false Intel backlight support even if the 693 693 * TCON DPCD says otherwise. This means we keep VESA interface as fallback in that case. 694 694 */ 695 - if (try_intel_interface && intel_dp_aux_supports_hdr_backlight(connector) && 696 - intel_dp->edp_dpcd[0] <= DP_EDP_14b) { 695 + if (try_intel_interface && intel_dp->edp_dpcd[0] <= DP_EDP_14b && 696 + intel_dp_aux_supports_hdr_backlight(connector)) { 697 697 drm_dbg_kms(dev, "[CONNECTOR:%d:%s] Using Intel proprietary eDP backlight controls\n", 698 698 connector->base.base.id, connector->base.name); 699 699 panel->backlight.funcs = &intel_dp_hdr_bl_funcs;