]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Use resource_build_scaling_params for dcn20
authorPeterson <peterson.guo@amd.com>
Wed, 27 Nov 2024 21:04:13 +0000 (16:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:32:21 +0000 (10:32 -0500)
commit57ac1175b9568a04042c998a6ab84322afc9bce0
tree44c0a74e72163dd0c63b89dd7ce14938fe1ec285
parent24909d9ec7c3afa8da2f3c9afa312e7a4a61f250
drm/amd/display: Use resource_build_scaling_params for dcn20

[WHY]
When using upscaling on certain gpus, some incorrect scaling
calculations would be made causing hangs.

[HOW]
This was fixed by using the resource_build_scaling_params function on these
gpus.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Peterson Guo <peterson.guo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/resource/dcn20/dcn20_resource.c