[5/5] drm/amd/dal: enhance debug print in REG_WAIT

Submitted by Harry Wentland on Nov. 25, 2016, 9:59 p.m.

Details

Message ID 20161125215941.29972-6-harry.wentland@amd.com
State New
Headers show
Series "dal patches for nov 23, 2016" ( rev: 2 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Harry Wentland Nov. 25, 2016, 9:59 p.m.
From: Tony Cheng <tony.cheng@amd.com>

Change-Id: I4bc28dd8df15337693e311e0255b4f0cfeb22909
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/dc_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/dal/dc/dc_helper.c b/drivers/gpu/drm/amd/dal/dc/dc_helper.c
index 22b72f0bcbbc..3a80b0c08ae4 100644
--- a/drivers/gpu/drm/amd/dal/dc/dc_helper.c
+++ b/drivers/gpu/drm/amd/dal/dc/dc_helper.c
@@ -138,7 +138,7 @@  uint32_t generic_reg_wait(const struct dc_context *ctx,
 			return reg_val;
 	}
 
-	DC_ERR("REG_WAIT timeout %dus * %d tries - ",
+	DC_ERR("REG_WAIT timeout %dus * %d tries - %s",
 			delay_between_poll_us, time_out_num_tries, func_name);
 	return reg_val;
 }