1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dcn301
Nikola Cornij 84c63d0409 drm/amd/display: Use the correct max downscaling value for DCN3.x family
[why]
As per spec, DCN3.x can do 6:1 downscaling and DCN2.x can do 4:1. The
max downscaling limit value for DCN2.x is 250, which means it's
calculated as 1000 / 4 = 250. For DCN3.x this then gives 1000 / 6 = 167.

[how]
Set maximum downscaling limit to 167 for DCN3.x

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2021-05-19 17:59:06 -04:00
..
dcn301_dccg.c drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_dccg.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_dio_link_encoder.c drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_dio_link_encoder.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_hubbub.c drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_hubbub.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_hwseq.c drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_hwseq.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_init.c drm/amd/display: Connect clock optimization function to dcn301 2021-04-15 16:31:52 -04:00
dcn301_init.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_panel_cntl.c drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_panel_cntl.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
dcn301_resource.c drm/amd/display: Use the correct max downscaling value for DCN3.x family 2021-05-19 17:59:06 -04:00
dcn301_resource.h drm/amd/display: Add dcn3.01 support to DC (v2) 2020-10-05 15:15:56 -04:00
Makefile amdgpu: fix clang build warning 2021-01-25 17:48:46 -05:00