summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorAustin Zheng <Austin.Zheng@amd.com>2025-06-05 16:37:36 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-06-24 09:55:22 -0400
commit90adb32480fce1ccda76ed5ebd58c4463ead3fd6 (patch)
treee9ea469d70df90c6dc73183e333ee96cdbac26ef /rust/helpers/build_bug.c
parente01bf2704224b10e9eabd48d168abb8b9edaaad0 (diff)
drm/amd/display: Include EQU Prefetch Bandwidth For Bandwidth Calculations
[Why] Pixel data bandwidth required in mode programming (MP) ends up being higher than what was calculated in mode support (MS) even though the prefetch bandwidths calculated in MP are lower than the MS ones. MP used a different equ prefetch schedule than MS which lead a slight difference in parameters. This resulted in the pixel data bandwidth in MP to be higher than MS. [How] Rename the RequiredPrefetchBWOTO term so it can be applied generically. Update the value with the EQU bandwidth if the EQU schedule is used. Get the max prefetch bandwidth that MS calculated and use it as part of the calculations for required bandwidth. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Austin.Zheng@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions