aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Cheng <[email protected]>2017-04-24 03:33:26 +0000
committerAlex Deucher <[email protected]>2017-09-26 22:06:38 +0000
commit50db413d557c39de9a976e2c9826d4e86e721c7c (patch)
treef9f19b8a63521a37e7b4d4ae7d098b506647a891
parentdrm/amd/display: move tg_color to dc_hw_types (diff)
downloadkernel-50db413d557c39de9a976e2c9826d4e86e721c7c.tar.gz
kernel-50db413d557c39de9a976e2c9826d4e86e721c7c.zip
drm/amd/display: clarify delay param for REG_WAIT
Signed-off-by: Tony Cheng <[email protected]> Acked-by: Harry Wentland <[email protected]> Reviewed-by: Dmytro Laktyushkin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/reg_helper.h4
1 files 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
*/