diff options
| author | Fangzhi Zuo <Jerry.Zuo@amd.com> | 2025-11-07 15:01:30 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-11-18 10:51:50 -0500 |
| commit | e0dec00f3d05e8c0eceaaebfdca217f8d10d380c (patch) | |
| tree | ce0d2657b6f47c152393c77cc09d7387cbde378a /drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | |
| parent | a6ec17263235b33051804851b2750ac8fb24186c (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