Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c1592 double MaxLinkBPP; in dml32_TruncToValidBPP() local
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()
1655 if (MaxLinkBPP < MinDSCBPP) in dml32_TruncToValidBPP()
1657 else if (MaxLinkBPP >= MaxDSCBPP) in dml32_TruncToValidBPP()
1662 if (MaxLinkBPP >= NonDSCBPP2) in dml32_TruncToValidBPP()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c3464 double MaxLinkBPP = 0; in TruncToValidBPP() local
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()
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()
3520 if (MaxLinkBPP >= NonDSCBPP2) { in TruncToValidBPP()
3522 } else if (MaxLinkBPP >= NonDSCBPP1) { in TruncToValidBPP()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c3608 double MaxLinkBPP; local
3645 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3648 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3649 MaxLinkBPP = 16;
3651 MaxLinkBPP = 32;
3656 if (MaxLinkBPP < MinDSCBPP) {
3658 } else if (MaxLinkBPP >= MaxDSCBPP) {
3661 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
3664 if (MaxLinkBPP >= NonDSCBPP2) {
3666 } else if (MaxLinkBPP >= NonDSCBPP1) {
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c3716 double MaxLinkBPP; local
3753 MaxLinkBPP = LinkBitRate / 10 * 8 * Lanes / PixelClock;
3756 if (ODMCombine == dm_odm_combine_mode_4to1 && MaxLinkBPP > 16) {
3757 MaxLinkBPP = 16;
3759 MaxLinkBPP = 32;
3764 if (MaxLinkBPP < MinDSCBPP) {
3766 } else if (MaxLinkBPP >= MaxDSCBPP) {
3769 return dml_floor(16.0 * MaxLinkBPP, 1.0) / 16.0;
3772 if (MaxLinkBPP >= NonDSCBPP2) {
3774 } else if (MaxLinkBPP >= NonDSCBPP1) {
[all …]