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

Harry Wentland harry.wentland at amd.com
Fri Nov 25 21:59:41 UTC 2016


From: Tony Cheng <tony.cheng at amd.com>

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

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;
 }
-- 
2.10.1



More information about the amd-gfx mailing list