summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
diff options
context:
space:
mode:
authorFangzhi Zuo <Jerry.Zuo@amd.com>2025-11-07 15:01:30 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-11-18 10:51:50 -0500
commite0dec00f3d05e8c0eceaaebfdca217f8d10d380c (patch)
treece0d2657b6f47c152393c77cc09d7387cbde378a /drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
parenta6ec17263235b33051804851b2750ac8fb24186c (diff)
drm/amd/display: Fix pbn to kbps Conversion
[Why] Existing routine has two conversion sequence, pbn_to_kbps and kbps_to_pbn with margin. Non of those has without-margin calculation. kbps_to_pbn with margin conversion includes fec overhead which has already been included in pbn_div calculation with 0.994 factor considered. It is a double counted fec overhead factor that causes potential bw loss. [How] Add without-margin calculation. Fix fec overhead double counted issue. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3735 Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h')
0 files changed, 0 insertions, 0 deletions