[PATCH 15/16] drm/amd/display: Log clock source in error condition
Harry Wentland
harry.wentland at amd.com
Mon Apr 3 23:07:29 UTC 2017
From: Jordan Lazare <Jordan.Lazare at amd.com>
Change-Id: I6a787162d9ef57471743e786c6d9f3b8b8dc273e
Signed-off-by: Jordan Lazare <Jordan.Lazare at amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland at amd.com>
---
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
}
}
--
2.11.0
More information about the amd-gfx
mailing list