summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoman Li <Roman.Li@amd.com>2016-11-30 16:23:16 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:02:27 -0400
commit22f050be1558a878f0fec34e8efbb89f5c17a5eb (patch)
tree3970417c1454d7423f6e4a3ba9a78dda81f09437 /drivers
parentf60ea68d43798d9c366a8a38d4602fb7f12786e7 (diff)
downloadlinux-stable-22f050be1558a878f0fec34e8efbb89f5c17a5eb.tar.gz
linux-stable-22f050be1558a878f0fec34e8efbb89f5c17a5eb.tar.bz2
linux-stable-22f050be1558a878f0fec34e8efbb89f5c17a5eb.zip
drm/amd/display: fix REG_SET_5 macro
Signed-off-by: Roman Li <Roman.Li@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-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 159b2c519f2b..dbc8424f7b69 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h
@@ -84,7 +84,7 @@
#define REG_SET_5(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4, \
f5, v5) \
- REG_SET_N(reg, 6, init_value, \
+ REG_SET_N(reg, 5, init_value, \
FN(reg, f1), v1,\
FN(reg, f2), v2,\
FN(reg, f3), v3,\