aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
diff options
context:
space:
mode:
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>2017-07-11 13:48:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:11 -0400
commitdaf6b57dd736ec93b2e1769b90514b015feed3c1 (patch)
tree59da71ac871e35f0bb1dc4e765cb321f547affd1 /drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
parentdrm/amd/display: Release cached atomic state in S3. (diff)
downloadlinux-dev-daf6b57dd736ec93b2e1769b90514b015feed3c1.tar.xz
linux-dev-daf6b57dd736ec93b2e1769b90514b015feed3c1.zip
drm/amd/display: add line number to reg_wait timeout print
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/reg_helper.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/reg_helper.h2
1 files changed, 1 insertions, 1 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 1828d288c6bc..77eb72874e90 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
@@ -188,7 +188,7 @@
#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_between_poll_us, max_try, __func__)
+ delay_between_poll_us, max_try, __func__, __LINE__)
/* macro to update (read, modify, write) register fields
*/