diff options
author | Jordan Lazare <Jordan.Lazare@amd.com> | 2017-03-31 17:14:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:22:32 -0400 |
commit | 7160c74cd00bc0a5f143c24096e1a45c51f3d202 (patch) | |
tree | 93c849f94037a943d859bce72feb3187b9b0411a /drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c | |
parent | dd3f348f0013f2cb2508f72adb35285a34b2baf7 (diff) | |
download | linux-7160c74cd00bc0a5f143c24096e1a45c51f3d202.tar.bz2 |
drm/amd/display: Log clock source in error condition
Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c index 17cdd70a2c27..34c18712970c 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c @@ -187,6 +187,7 @@ void dce_crtc_switch_to_clk_src(struct dce_hwseq *hws, REG_UPDATE(PHYPLL_PIXEL_RATE_CNTL[tg_inst], PIXEL_RATE_PLL_SOURCE, 1); } else { - DC_ERR("unknown clock source"); + DC_ERR("Unknown clock source. clk_src id: %d, TG_inst: %d", + clk_src->id, tg_inst); } } |