summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
diff options
context:
space:
mode:
authorNevenko Stupar <nevenko.stupar@amd.com>2024-07-03 13:29:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-07-23 17:07:12 -0400
commita41d58fb91248557438de4e8298d1d2ed5b39564 (patch)
tree517fb19ee4094b1b2ccf7e284c07e75907af3492 /drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
parent4e8eac98046446d99cbbed740f0767204b839f3f (diff)
downloadlinux-a41d58fb91248557438de4e8298d1d2ed5b39564.tar.gz
linux-a41d58fb91248557438de4e8298d1d2ed5b39564.tar.bz2
linux-a41d58fb91248557438de4e8298d1d2ed5b39564.zip
drm/amd/display: Issue with 3 or more mcaches per surface
[Why & How] Current logic in mcache admissibility check has flaw if calculated number of maches are 3 or more per surface, so sometimes the check may pass when it should fail, and sometimes may fail when it should pass, fix the issue and also adding additional check to make sure that required number of mcaches per surface cannot be higher than number of pipes + 1, used on that surface. Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Nevenko Stupar <nevenko.stupar@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c')
0 files changed, 0 insertions, 0 deletions