]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/backlight: Update debug log during backlight setup
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 2 Mar 2026 04:06:11 +0000 (09:36 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 3 Mar 2026 02:58:54 +0000 (08:28 +0530)
With luminance_set which represents PANEL_LUMINANCE_OVERRIDE, we
have another variable to decide if we use PWM or DPCD.
Make drm_dbg_kms log represent that.

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-7-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c

index 9d9872e9daa4d4b69af0231231c33d1243d02af0..8d3f114a458b1677dac3a41dc8d853a28dab91ca 100644 (file)
@@ -539,7 +539,8 @@ static int intel_dp_aux_vesa_setup_backlight(struct intel_connector *connector,
        drm_dbg_kms(display->drm,
                    "[CONNECTOR:%d:%s] AUX VESA backlight enable is controlled through %s\n",
                    connector->base.base.id, connector->base.name,
-                   dpcd_vs_pwm_str(panel->backlight.edp.vesa.info.aux_enable));
+                   dpcd_vs_pwm_str(panel->backlight.edp.vesa.info.aux_enable ||
+                                   panel->backlight.edp.vesa.info.luminance_set));
        drm_dbg_kms(display->drm,
                    "[CONNECTOR:%d:%s] AUX VESA backlight level is controlled through %s\n",
                    connector->base.base.id, connector->base.name,