linux/drivers/gpu/drm/amd/display
Wesley Chalmers 6209542869 drm/amd/display: Use the largest vready_offset in pipe group
[ Upstream commit 5842abd985 ]

[WHY]
Corruption can occur in LB if vready_offset is not large enough.
DML calculates vready_offset for each pipe, but we currently select the
top pipe's vready_offset, which is not necessarily enough for all pipes
in the group.

[HOW]
Wherever program_global_sync is currently called, iterate through the
entire pipe group and find the highest vready_offset.

Reviewed-by: Dillon Varone <Dillon.Varone@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-12-31 13:14:43 +01:00
..
amdgpu_dm Revert "drm/amd/display: Limit max DSC target bpp for specific monitors" 2022-12-31 13:14:41 +01:00
dc drm/amd/display: Use the largest vready_offset in pipe group 2022-12-31 13:14:43 +01:00
dmub Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
include drm/amd/display: Reduce dmesg error to a debug print 2022-03-08 19:12:43 +01:00
modules drm/amd/display: Limit user regamma to a valid value 2022-09-28 11:11:55 +02:00
Kconfig drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame 2022-12-08 11:28:43 +01:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00