Searched refs:MaxLinkBPP (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | display_mode_vba_util_32.c | 1592 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 3464 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 3599 double MaxLinkBPP; local 3634 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); 3636 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; 3639 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) { 3640 MaxLinkBPP = 16; 3641 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) { 3642 MaxLinkBPP = 32; 3647 if (MaxLinkBPP < MinDSCBPP) { 3649 } else if (MaxLinkBPP >= MaxDSCBPP) { 3652 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 3705 double MaxLinkBPP; local 3740 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock * (1 - 2.4 / 100); 3742 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock; 3745 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) { 3746 MaxLinkBPP = 16; 3747 } else if (ODMCombine == dm_odm_combine_mode_2to1 && MaxLinkBPP > 32) { 3748 MaxLinkBPP = 32; 3753 if (MaxLinkBPP < MinDSCBPP) { 3755 } else if (MaxLinkBPP >= MaxDSCBPP) { 3758 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 2724 dml_float_t MaxLinkBPP; in TruncToValidBPP() local 2763 MaxLinkBPP = LinkBitRate * Lanes / PixelClock * 128.0 / 132.0 * 383.0 / 384.0 * 65536.0 / 65540.0; in TruncToValidBPP() 2765 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock * (1 - 2.4 / 100); in TruncToValidBPP() 2767 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock; in TruncToValidBPP() 2772 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in TruncToValidBPP() 2774 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in TruncToValidBPP() 2776 MaxLinkBPP = 2 * MaxLinkBPP; in TruncToValidBPP() 2780 MaxLinkBPP = dml_min(MaxLinkBPP, 16); in TruncToValidBPP() 2782 MaxLinkBPP = dml_min(MaxLinkBPP, 32); in TruncToValidBPP() 2784 MaxLinkBPP = 2 * MaxLinkBPP; in TruncToValidBPP() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 3977 double MaxLinkBPP; in TruncToValidBPP() local 4016 MaxLinkBPP = LinkBitRate * Lanes / PixelClock * 128.0 / 132.0 * 383.0 / 384.0 * 65536.0 / 65540.0; in TruncToValidBPP() 4018 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock * (1 - 2.4 / 100); in TruncToValidBPP() 4020 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock; in TruncToValidBPP() 4026 MaxLinkBPP = 2 * MaxLinkBPP; in TruncToValidBPP() 4031 if (MaxLinkBPP < MinDSCBPP) { in TruncToValidBPP() 4033 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP() 4036 return math_floor2(16.0 * MaxLinkBPP, 1.0) / 16.0; in TruncToValidBPP() 4039 if (MaxLinkBPP >= NonDSCBPP2) { in TruncToValidBPP() 4041 } else if (MaxLinkBPP >= NonDSCBPP1) { in TruncToValidBPP() [all …]
|
D | dml2_core_dcn4_calcs.c | 1300 double MaxLinkBPP; in TruncToValidBPP() local 1339 MaxLinkBPP = LinkBitRate * Lanes / PixelClock * 128.0 / 132.0 * 383.0 / 384.0 * 65536.0 / 65540.0; in TruncToValidBPP() 1341 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock * (1 - 2.4 / 100); in TruncToValidBPP() 1343 MaxLinkBPP = LinkBitRate / 10.0 * 8.0 * Lanes / PixelClock; in TruncToValidBPP() 1349 MaxLinkBPP = 2 * MaxLinkBPP; in TruncToValidBPP() 1354 if (MaxLinkBPP < MinDSCBPP) { in TruncToValidBPP() 1356 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP() 1359 return math_floor2(16.0 * MaxLinkBPP, 1.0) / 16.0; in TruncToValidBPP() 1362 if (MaxLinkBPP >= NonDSCBPP2) { in TruncToValidBPP() 1364 } else if (MaxLinkBPP >= NonDSCBPP1) { in TruncToValidBPP() [all …]
|