disp: msm: update debug log for color processing features

Replace the DSI_DEBUG logs with pr_debug logs for backlight related
color processing features. DSI_DEBUG logs cannot be enabled dynamically
by the /sys/kernel/debug/dynamic_debug/control sysfs node, hence move to
pr_debug instead.

Change-Id: I6a6e2fcd81cacef9e5ec7c061fae8f4cf2b7106d
Signed-off-by: Ping Li <pingli@codeaurora.org>
This commit is contained in:
Ping Li
2021-06-24 11:50:19 -07:00
parent 1074406893
commit e96b53ea1f

View File

@@ -251,12 +251,12 @@ int dsi_display_set_backlight(struct drm_connector *connector,
/* use bl_temp as index of dimming bl lut to find the dimming panel backlight */
if (bl_temp != 0 && panel->bl_config.dimming_bl_lut &&
bl_temp < panel->bl_config.dimming_bl_lut->length) {
DSI_DEBUG("before dimming bl_temp = %u, after dimming bl_temp = %lu\n",
pr_debug("before dimming bl_temp = %u, after dimming bl_temp = %lu\n",
bl_temp, panel->bl_config.dimming_bl_lut->mapped_bl[bl_temp]);
bl_temp = panel->bl_config.dimming_bl_lut->mapped_bl[bl_temp];
}
DSI_DEBUG("bl_scale = %u, bl_scale_sv = %u, bl_lvl = %u\n",
pr_debug("bl_scale = %u, bl_scale_sv = %u, bl_lvl = %u\n",
bl_scale, bl_scale_sv, (u32)bl_temp);
rc = dsi_panel_set_backlight(panel, (u32)bl_temp);