1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dcn302
Samson Tam 163e3bcbca drm/amd/display: fix initial bounding box values for dcn3.02
[Why]
Initial bounding box values are updated in dcn30_update_bw_bounding_box
 but they use dcn3_0_soc and dcn3_0_ip instead of dcn3_02_soc and
 dcn3_02_ip

[How]
Add dcn302_update_bw_bounding_box and
 dcn302_get_optimal_dcfclk_fclk_for_uclk so it uses
 dcn3_02_soc and dcn3_02_ip.
Use sr_exit_time_us, sr_enter_plus_exit_time_us,
 from dcn30 on dcn302 to fix flicker on eDP.
 Also use dram_clock_change_latency_us from dcn30.

Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Reviewed-by: Joshua Aberback <Joshua.Aberback@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-02-02 12:10:56 -05:00
..
dcn302_dccg.h drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dcn302_hwseq.c drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dcn302_hwseq.h drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dcn302_init.c drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dcn302_init.h drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dcn302_resource.c drm/amd/display: fix initial bounding box values for dcn3.02 2021-02-02 12:10:56 -05:00
dcn302_resource.h drm/amd/display: fix initial bounding box values for dcn3.02 2021-02-02 12:10:56 -05:00
Makefile amdgpu: fix clang build warning 2021-01-25 17:48:46 -05:00