]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Combine field toggle macro and sequence write macro.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 15 Feb 2019 22:05:43 +0000 (17:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:49 +0000 (15:36 -0500)
commited18979f95512f7fe4539db6d700cabf9b66a45e
treecd73f5d66165da34f95afc91697754cb226ed8f9
parentb09cd904e8b5634b52cce2da06cbe652cac534d0
drm/amd/display: Combine field toggle macro and sequence write macro.

[Why]
field toggle write is actual field sequence write with the same
field name.

[How]
Use REG_UPDATE_SEQ_2 for both sequence write and toggle.
Rename REG_UPDATE_1by1_3 to REG_UPDATE_SEQ_3.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c
drivers/gpu/drm/amd/display/dc/inc/reg_helper.h