Home
last modified time | relevance | path

Searched refs:MaxDSCBPP (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.c1594 double MaxDSCBPP; in dml32_TruncToValidBPP() local
1605 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16; in dml32_TruncToValidBPP()
1612 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16; in dml32_TruncToValidBPP()
1625 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0; in dml32_TruncToValidBPP()
1628 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; in dml32_TruncToValidBPP()
1659 else if (MaxLinkBPP >= MaxDSCBPP) in dml32_TruncToValidBPP()
1660 return MaxDSCBPP; in dml32_TruncToValidBPP()
1678 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) in dml32_TruncToValidBPP()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
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()
3494 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; in TruncToValidBPP()
3515 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
3516 return MaxDSCBPP; in TruncToValidBPP()
3533 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3606 double MaxDSCBPP; local
3616 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16;
3622 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3631 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3634 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3654 } else if (MaxLinkBPP >= MaxDSCBPP) {
3655 return MaxDSCBPP;
3672 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3716 double MaxDSCBPP; local
3726 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1 / 16;
3732 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3741 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3744 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3764 } else if (MaxLinkBPP >= MaxDSCBPP) {
3765 return MaxDSCBPP;
3782 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {