summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorTony Cheng2017-04-24 05:33:26 +0200
committerAlex Deucher2017-09-27 00:06:38 +0200
commit50db413d557c39de9a976e2c9826d4e86e721c7c (patch)
treef9f19b8a63521a37e7b4d4ae7d098b506647a891 /drivers/gpu/drm/amd/display
parentdrm/amd/display: move tg_color to dc_hw_types (diff)
downloadkernel-qcow2-linux-50db413d557c39de9a976e2c9826d4e86e721c7c.tar.gz
kernel-qcow2-linux-50db413d557c39de9a976e2c9826d4e86e721c7c.tar.xz
kernel-qcow2-linux-50db413d557c39de9a976e2c9826d4e86e721c7c.zip
drm/amd/display: clarify delay param for REG_WAIT
Signed-off-by: Tony Cheng <tony.cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
-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
*/