diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2018-04-04 16:03:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-15 14:43:26 -0400 |
commit | a47654633596a63f14a9035b9c762f8aaf1e00a3 (patch) | |
tree | bb00189d8663f520a949a6d1323f28a2a297ee33 /drivers | |
parent | 0a93dc7f595f43b621277ecfc05a44ed0c719a5f (diff) |
drm/amd/display: add calculated clock logging to DTN
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index 7dd130d15a67..e547f46d3516 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | |||
@@ -311,7 +311,16 @@ void dcn10_log_hw_state(struct dc *dc) | |||
311 | print_rq_dlg_ttu_regs(dc_ctx, &s); | 311 | print_rq_dlg_ttu_regs(dc_ctx, &s); |
312 | DTN_INFO("\n"); | 312 | DTN_INFO("\n"); |
313 | } | 313 | } |
314 | DTN_INFO("\n"); | 314 | |
315 | DTN_INFO("\nCALCULATED Clocks: dcfclk_khz:%d dcfclk_deep_sleep_khz:%d dispclk_khz:%d\n" | ||
316 | "dppclk_khz:%d max_supported_dppclk_khz:%d fclk_khz:%d socclk_khz:%d\n\n", | ||
317 | dc->current_state->bw.dcn.calc_clk.dcfclk_khz, | ||
318 | dc->current_state->bw.dcn.calc_clk.dcfclk_deep_sleep_khz, | ||
319 | dc->current_state->bw.dcn.calc_clk.dispclk_khz, | ||
320 | dc->current_state->bw.dcn.calc_clk.dppclk_khz, | ||
321 | dc->current_state->bw.dcn.calc_clk.max_supported_dppclk_khz, | ||
322 | dc->current_state->bw.dcn.calc_clk.fclk_khz, | ||
323 | dc->current_state->bw.dcn.calc_clk.socclk_khz); | ||
315 | 324 | ||
316 | log_mpc_crc(dc); | 325 | log_mpc_crc(dc); |
317 | 326 | ||