]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: do not set traslate_by_source for DCN401 cursor
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 14 Aug 2024 21:56:17 +0000 (17:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:52:23 +0000 (17:52 -0400)
commit87d23164d89c3898a0acb4ec0b431e787c27a91e
tree5a87c8cd24a13fdda2990b6f3465ced004e5a114
parent6dcc304f85898b099b35c63748c5e11ba56d0c8a
drm/amd/display: do not set traslate_by_source for DCN401 cursor

translate_by_source need not be set for DCN401 onwards since cursor
cursor composition comes after scaler in the hardware pipeline.
Hence offset calculation has been reworked, and this setting is not
necessary to be enabled anymore.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c