Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c1592 double MaxLinkBPP; in dml32_TruncToValidBPP() local
1632 MaxLinkBPP = LinkBitRate * Lanes / PixelClock * 128 / 132 * 383 / 384 * 65536 / 65540; in dml32_TruncToValidBPP()
1634 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); in dml32_TruncToValidBPP()
1636 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; in dml32_TruncToValidBPP()
1641 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP()
1643 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP()
1645 MaxLinkBPP = 2 * MaxLinkBPP; in dml32_TruncToValidBPP()
1648 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in dml32_TruncToValidBPP()
1650 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in dml32_TruncToValidBPP()
1652 MaxLinkBPP = 2 * MaxLinkBPP; in dml32_TruncToValidBPP()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c3464 double MaxLinkBPP = 0; in TruncToValidBPP() local
3499 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); in TruncToValidBPP()
3501 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; in TruncToValidBPP()
3504 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) { in TruncToValidBPP()
3505 MaxLinkBPP = 16; in TruncToValidBPP()
3506 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) { in TruncToValidBPP()
3507 MaxLinkBPP = 32; in TruncToValidBPP()
3513 if (MaxLinkBPP < MinDSCBPP) { in TruncToValidBPP()
3515 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
3518 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0; in TruncToValidBPP()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3604 double MaxLinkBPP; local
3639 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100);
3641 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3644 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3645 MaxLinkBPP = 16;
3646 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) {
3647 MaxLinkBPP = 32;
3652 if (MaxLinkBPP < MinDSCBPP) {
3654 } else if (MaxLinkBPP >= MaxDSCBPP) {
3657 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3714 double MaxLinkBPP; local
3749 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100);
3751 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3754 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3755 MaxLinkBPP = 16;
3756 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) {
3757 MaxLinkBPP = 32;
3762 if (MaxLinkBPP < MinDSCBPP) {
3764 } else if (MaxLinkBPP >= MaxDSCBPP) {
3767 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
[all …]