[PATCH 14/28] drm/amd/display: clarify delay param for REG_WAIT
Harry Wentland
harry.wentland at amd.com
Wed May 3 21:13:37 UTC 2017
From: Tony Cheng <tony.cheng at amd.com>
Signed-off-by: Tony Cheng <tony.cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
---
drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
index b595b94d2b69..96fba1fb7697 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
@@ -185,10 +185,10 @@
/* macro to poll and wait for a register field to read back given value */
-#define REG_WAIT(reg_name, field, val, delay, max_try) \
+#define REG_WAIT(reg_name, field, val, delay_between_poll_us, max_try) \
generic_reg_wait(CTX, \
REG(reg_name), FN(reg_name, field), val,\
- delay, max_try, __func__)
+ delay_between_poll_us, max_try, __func__)
/* macro to update (read, modify, write) register fields
*/
--
2.11.0
More information about the amd-gfx
mailing list