drm/amd/display: Update DPG test pattern programming
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 13 Jul 2023 22:40:51 +0000 (18:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:40:47 +0000 (13:40 -0400)
commitad4455c614b27e6b24a4e6bd70114545c1660ff9
tree0421952c8d9e44317b15594ad4114887e4275c24
parentdbd29029c7b5cd8a126dd4005142ca12bfcf73c0
drm/amd/display: Update DPG test pattern programming

[Why]
Last ODM slice could be slightly larger than other slice because it can be
including the residual.

[How]
Update DPG pattern programming sequence to use a different width for
last odm slice.

Reviewed-by: Chris Park <chris.park@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c