]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Populate dcn2.1 bounding box before state duplication
authorSung Lee <sung.lee@amd.com>
Wed, 3 Feb 2021 22:08:39 +0000 (17:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Feb 2021 21:43:10 +0000 (16:43 -0500)
commitfaddc20d042ab5296abf916de556aa5d52da4837
tree21b02a74ef6c472a70f46c8a5aa6dbe2467a96aa
parent84292451cee98d0bee09f3058937e65ca04ef687
drm/amd/display: Populate dcn2.1 bounding box before state duplication

[Why]
If system is overclocked, only 1 bounding box state will
be sent by SMU. This results in an empty state being copied
for DML calculations causing black screens and corruption.

[How]
Fully populate bounding box before duplicating last state.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c