summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2022-08-18 12:34:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-08-29 17:58:48 -0400
commitf6f76233bf506d03f3567fa229c7ad2ce6a768d6 (patch)
tree627f0ace7ce9be7c6afc7911fe8f7df5ec80ba3f /scripts/gdb
parent847939e3eda39f98de6ae95a5c5e0e1f437a274c (diff)
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>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions