drm/amd/display: Move vupdate keepout programming from DCN20 to DCN10
authorLeo Li <sunpeng.li@amd.com>
Thu, 2 Apr 2020 19:38:22 +0000 (15:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:51:44 +0000 (16:51 -0400)
commit9df857f930d6035996d481b4e5bc9ce082990afb
tree0e457eaac424ee1bbf9a4843222e5b9167e482e2
parent148493a81e3b60aee445b60bac65f800aebf05cc
drm/amd/display: Move vupdate keepout programming from DCN20 to DCN10

[Why]

The OTG_VUPDATE_KEEPOUT register and fields is
available on DCN10, and named the same in DCN20.

[How]

Move register definition and programming function
to dcn10 optc.

There is no functional change.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.h