From: Tony Cheng Date: Mon, 24 Apr 2017 03:33:26 +0000 (-0400) Subject: drm/amd/display: clarify delay param for REG_WAIT X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=50db413d557c39de9a976e2c9826d4e86e721c7c;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: clarify delay param for REG_WAIT Signed-off-by: Tony Cheng Acked-by: Harry Wentland Reviewed-by: Dmytro Laktyushkin Signed-off-by: Alex Deucher --- 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 */