Home
last modified time | relevance | path

Searched refs:MaxDSCBPP (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.c1594 double MaxDSCBPP; in dml32_TruncToValidBPP() local
1604 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16; in dml32_TruncToValidBPP()
1610 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16; in dml32_TruncToValidBPP()
1623 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0; in dml32_TruncToValidBPP()
1626 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; in dml32_TruncToValidBPP()
1657 else if (MaxLinkBPP >= MaxDSCBPP) in dml32_TruncToValidBPP()
1658 return MaxDSCBPP; in dml32_TruncToValidBPP()
1674 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) in dml32_TruncToValidBPP()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c3466 double MaxDSCBPP = 0; in TruncToValidBPP() local
3476 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1.0 / 16; in TruncToValidBPP()
3482 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16; in TruncToValidBPP()
3490 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0; in TruncToValidBPP()
3493 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; in TruncToValidBPP()
3514 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
3515 return MaxDSCBPP; in TruncToValidBPP()
3532 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_mode_vba_31.c3610 double MaxDSCBPP; local
3620 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16;
3626 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3635 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3638 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3658 } else if (MaxLinkBPP >= MaxDSCBPP) {
3659 return MaxDSCBPP;
3676 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c3718 double MaxDSCBPP; local
3728 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16;
3734 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3743 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3746 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3766 } else if (MaxLinkBPP >= MaxDSCBPP) {
3767 return MaxDSCBPP;
3784 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {