linux/drivers/gpu/drm/amd/display/dc/dcn21
Sung Lee 73076790e2 drm/amd/display: Copy over soc values before bounding box creation
[Why]
With certain fclock overclocks, state 1 may be chosen
as the closest clock level. This may result in this state
being empty if not populated beforehand, resulting in
black screens and screen corruption.

[How]
Copy over all soc states to clock_limits before bounding
box creation to avoid any cases with empty states.

Fixes: f2459c52c8 ("drm/amd/display: Add Bounding Box State for Low DF PState but High Voltage State")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1514
Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Qingqing Zhuo <Qingqing.Zhuo@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-03-15 13:42:54 -04:00
..
dcn21_dccg.c drm/amd/display: cap dpp dto phase not more than modulo. 2020-11-10 14:26:18 -05:00
dcn21_dccg.h drm/amd/display: Adding prototype for dccg21_update_dpp_dto() 2020-12-15 11:35:25 -05:00
dcn21_hubbub.c drm/amd/display: Populate hostvm parameter before DML calculation 2020-11-16 12:18:44 -05:00
dcn21_hubbub.h drm/amd/display: optimize prgoram wm and clks 2020-02-25 11:09:37 -05:00
dcn21_hubp.c drm/amd/display: Enable pflip interrupt upon pipe enable 2021-03-10 16:14:36 -05:00
dcn21_hubp.h drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn21_hwseq.c drm/amd/display: Initialize dmub_rb_cmd unions to 0 2021-02-09 15:48:11 -05:00
dcn21_hwseq.h drm/amd/display: Block ABM in case of eDP ODM 2020-10-05 15:16:43 -04:00
dcn21_init.c drm/amd/display: New sequence for HUBP blank 2021-01-13 23:44:22 -05:00
dcn21_init.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn21_link_encoder.c drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dcn21_link_encoder.h drm/amd/display: add missing dcn link encoder regs 2019-12-18 16:09:06 -05:00
dcn21_resource.c drm/amd/display: Copy over soc values before bounding box creation 2021-03-15 13:42:54 -04:00
dcn21_resource.h
Makefile drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00