aboutsummaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.c
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2022-08-18 12:34:06 -0400
committerAlex Deucher <[email protected]>2022-08-30 17:03:52 -0400
commit94a82c9e3dffb88182a4ed0464dc0266ad0d7b45 (patch)
treeef665ce60d096acf3b8725b05e5d1b14d46cdb7d /lib/zstd/common/debug.c
parent4fd7f14b56b2e727dd66a62e217e57015da4e9fd (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 <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Brian Chang <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/zstd/common/debug.c')
0 files changed, 0 insertions, 0 deletions