Home
last modified time | relevance | path

Searched refs:MaxLinkBPP (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c1592 double MaxLinkBPP; in dml32_TruncToValidBPP() local
1630 MaxLinkBPP = LinkBitRate * Lanes / PixelClock * 128 / 132 * 383 / 384 * 65536 / 65540; in dml32_TruncToValidBPP()
1632 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); in dml32_TruncToValidBPP()
1634 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; in dml32_TruncToValidBPP()
1639 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP()
1641 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP()
1643 MaxLinkBPP = 2 * MaxLinkBPP; in dml32_TruncToValidBPP()
1646 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP()
1648 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP()
1650 MaxLinkBPP = 2 * MaxLinkBPP; in dml32_TruncToValidBPP()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c3464 double MaxLinkBPP = 0; in TruncToValidBPP() local
3498 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); in TruncToValidBPP()
3500 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; in TruncToValidBPP()
3503 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) { in TruncToValidBPP()
3504 MaxLinkBPP = 16; in TruncToValidBPP()
3505 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) { in TruncToValidBPP()
3506 MaxLinkBPP = 32; in TruncToValidBPP()
3512 if (MaxLinkBPP < MinDSCBPP) { in TruncToValidBPP()
3514 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
3517 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0; in TruncToValidBPP()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3608 double MaxLinkBPP; local
3643 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100);
3645 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3648 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3649 MaxLinkBPP = 16;
3650 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) {
3651 MaxLinkBPP = 32;
3656 if (MaxLinkBPP < MinDSCBPP) {
3658 } else if (MaxLinkBPP >= MaxDSCBPP) {
3661 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3716 double MaxLinkBPP; local
3751 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100);
3753 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3756 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3757 MaxLinkBPP = 16;
3758 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) {
3759 MaxLinkBPP = 32;
3764 if (MaxLinkBPP < MinDSCBPP) {
3766 } else if (MaxLinkBPP >= MaxDSCBPP) {
3769 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
[all …]