From: Tony Cheng <[email protected]>
Signed-off-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
---
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
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx