summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2026-03-24 14:28:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-04-17 15:21:12 -0400
commit5721b5b9c9c792233d7817239bd81925fb3ad9d1 (patch)
tree0472b3815affc505805cb45dc8ebaf0ef27c9d47 /scripts/stackusage
parent8dc88c6a5948c9565f4901f2a62c74306a8eda8d (diff)
drm/amd/display: Fix HostVMMinPageSize unit mismatch in DML2.1
[Why] This was found back on DML2 but was missed when creating DML2.1. The bottom layer calculation (CalculateHostVMDynamicLevels) expects a value in bytes, not KB, but we pass in the value in KB (eg. 4). This causes an extra page table level to be required in the prefetch bytes which can be significant overhead - preventing some modes from being supported that should otherwise be. [How] Correct the units by multiplying the input and override values by 1024. Reviewed-by: Austin Zheng <austin.zheng@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions