1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Aurabindo Pillai f6f76233bf drm/amd/display: disable display fresh from MALL on an edge case for DCN321
[Why&How]
When using a 4k monitor when cursor caching is not supported due to
framebuffer being on an uncacheable address, enabling display refresh
from MALL would trigger corruption if SS is enabled.

Prevent entering SS if we are on the edge case and cursor caching is not
possible. Do this only if cursor size larger than a 64x64@4bpp. Pull the
cursor size calculation out of if condition since cursor address may not
be set on all platforms

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-29 17:58:48 -04:00
..
amdgpu_dm drm/amd/display: Refactor edp dsc codes. 2022-08-29 17:58:47 -04:00
dc drm/amd/display: disable display fresh from MALL on an edge case for DCN321 2022-08-29 17:58:48 -04:00
dmub drm/amd/display: Add support for visual confirm color 2022-08-29 17:58:47 -04:00
include drm/amd/display: add chip revision to DCN32 2022-08-16 18:09:25 -04:00
modules drm/amd/display: Fix HDMI VSIF V3 incorrect issue 2022-08-10 15:12:13 -04:00
Kconfig drm/amd/display: Enable building new display engine with KCOV enabled 2022-07-18 16:42:38 -04: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