Commit b187af37 authored by Ken Chalmers's avatar Ken Chalmers Committed by Alex Deucher

drm/amd/display: Expand set_pixel_clock debug log message

[Why]
For more informative debugging.

[How]
Add timing generator and PLL ids to output, to make it clear which pixel
clock is being set.
Signed-off-by: default avatarKen Chalmers <ken.chalmers@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8a13779e
...@@ -307,9 +307,11 @@ static enum bp_result set_pixel_clock_v7( ...@@ -307,9 +307,11 @@ static enum bp_result set_pixel_clock_v7(
(uint8_t) bp->cmd_helper-> (uint8_t) bp->cmd_helper->
transmitter_color_depth_to_atom( transmitter_color_depth_to_atom(
bp_params->color_depth); bp_params->color_depth);
DC_LOG_BIOS("%s:program display clock = %d"\
"colorDepth = %d\n", __func__,\ DC_LOG_BIOS("%s:program display clock = %d, tg = %d, pll = %d, "\
bp_params->target_pixel_clock_100hz, bp_params->color_depth); "colorDepth = %d\n", __func__,
bp_params->target_pixel_clock_100hz, (int)controller_id,
pll_id, bp_params->color_depth);
if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL) if (bp_params->flags.FORCE_PROGRAMMING_OF_PLL)
clk.miscinfo |= PIXEL_CLOCK_V7_MISC_FORCE_PROG_PPLL; clk.miscinfo |= PIXEL_CLOCK_V7_MISC_FORCE_PROG_PPLL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment