disp: msm: dp: reduce log level for messages

Decrease the log level for messages that are typically printed from a
real time thread execution environment (such as the display commit
thread). This can help with cases where a console lock held during the
execution of these real time threads can result in RT throttling issues.

Change-Id: I41e1e4f171b5eee9966d8a7d26d64430a81bc6fc
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
This commit is contained in:
Aravind Venkateswaran
2020-10-01 22:46:03 -07:00
förälder 5ba397e17e
incheckning d1d2d5a809
4 ändrade filer med 18 tillägg och 18 borttagningar

Visa fil

@@ -402,7 +402,7 @@ static void dp_panel_update_tu_timings(struct dp_tu_calc_input *in,
tot_num_dummy_bytes = (nlanes - eoc_bytes) * dsc_num_slices;
if (dsc_num_bytes == 0)
DP_INFO("incorrect no of bytes per slice=%d\n", dsc_num_bytes);
DP_DEBUG("incorrect no of bytes per slice=%d\n", dsc_num_bytes);
dwidth_dsc_bytes = (tot_num_hor_bytes +
tot_num_eoc_symbols +
@@ -800,7 +800,7 @@ static void _dp_panel_calc_tu(struct dp_tu_calc_input *in,
if (tu.dsc_en && compare_result_1 && compare_result_2) {
HBLANK_MARGIN += 4;
DP_INFO("Info: increase HBLANK_MARGIN to %d\n", HBLANK_MARGIN);
DP_DEBUG("Info: increase HBLANK_MARGIN to %d\n", HBLANK_MARGIN);
}
tu_size_calc:
@@ -834,7 +834,7 @@ tu_size_calc:
tu.n_tus += 1;
tu.even_distribution_legacy = tu.n_tus % tu.nlanes == 0 ? 1 : 0;
DP_INFO("Info: n_sym = %d, num_of_tus = %d\n",
DP_DEBUG("Info: n_sym = %d, num_of_tus = %d\n",
tu.valid_boundary_link, tu.n_tus);
_dp_calc_extra_bytes(&tu);
@@ -964,17 +964,17 @@ tu_size_calc:
tu_table->lower_boundary_count = tu.lower_boundary_count;
tu_table->tu_size_minus1 = tu.tu_size_minus1;
DP_INFO("TU: valid_boundary_link: %d\n", tu_table->valid_boundary_link);
DP_INFO("TU: delay_start_link: %d\n", tu_table->delay_start_link);
DP_INFO("TU: boundary_moderation_en: %d\n",
DP_DEBUG("TU: valid_boundary_link: %d\n", tu_table->valid_boundary_link);
DP_DEBUG("TU: delay_start_link: %d\n", tu_table->delay_start_link);
DP_DEBUG("TU: boundary_moderation_en: %d\n",
tu_table->boundary_moderation_en);
DP_INFO("TU: valid_lower_boundary_link: %d\n",
DP_DEBUG("TU: valid_lower_boundary_link: %d\n",
tu_table->valid_lower_boundary_link);
DP_INFO("TU: upper_boundary_count: %d\n",
DP_DEBUG("TU: upper_boundary_count: %d\n",
tu_table->upper_boundary_count);
DP_INFO("TU: lower_boundary_count: %d\n",
DP_DEBUG("TU: lower_boundary_count: %d\n",
tu_table->lower_boundary_count);
DP_INFO("TU: tu_size_minus1: %d\n", tu_table->tu_size_minus1);
DP_DEBUG("TU: tu_size_minus1: %d\n", tu_table->tu_size_minus1);
}
static void dp_panel_calc_tu_parameters(struct dp_panel *dp_panel,
@@ -1494,7 +1494,7 @@ static int dp_panel_read_dpcd(struct dp_panel *dp_panel, bool multi_func)
goto end;
}
print_hex_dump(KERN_DEBUG, "[drm-dp] SINK DPCD: ",
print_hex_dump_debug("[drm-dp] SINK DPCD: ",
DUMP_PREFIX_NONE, 8, 1, dp_panel->dpcd, rlen, false);
rlen = drm_dp_dpcd_read(panel->aux->drm_aux,
@@ -1715,7 +1715,7 @@ static void dp_panel_read_sink_dsc_caps(struct dp_panel *dp_panel)
return;
}
print_hex_dump(KERN_DEBUG, "[drm-dp] SINK DSC DPCD: ",
print_hex_dump_debug("[drm-dp] SINK DSC DPCD: ",
DUMP_PREFIX_NONE, 8, 1, dp_panel->dsc_dpcd, rlen,
false);