Home
last modified time | relevance | path

Searched refs:MaxDSCBPP (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c1594 double MaxDSCBPP; in dml32_TruncToValidBPP() local
1604 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1.0 / 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()
1659 else if (MaxLinkBPP >= MaxDSCBPP) in dml32_TruncToValidBPP()
1660 return MaxDSCBPP; in dml32_TruncToValidBPP()
1676 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) in dml32_TruncToValidBPP()
/linux-6.12.1/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()
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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3601 double MaxDSCBPP; local
3611 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1.0 / 16;
3617 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3626 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3629 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3649 } else if (MaxLinkBPP >= MaxDSCBPP) {
3650 return MaxDSCBPP;
3667 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3707 double MaxDSCBPP; local
3717 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1.0 / 16;
3723 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16;
3732 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
3735 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
3755 } else if (MaxLinkBPP >= MaxDSCBPP) {
3756 return MaxDSCBPP;
3773 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c2726 dml_float_t MaxDSCBPP; in TruncToValidBPP() local
2736 MaxDSCBPP = 1.5 * DSCInputBitPerComponent - 1.0 / 16; in TruncToValidBPP()
2742 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16; in TruncToValidBPP()
2755 MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0; in TruncToValidBPP()
2758 MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; in TruncToValidBPP()
2794 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
2795 return MaxDSCBPP; in TruncToValidBPP()
2812 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c3979 double MaxDSCBPP; in TruncToValidBPP() local
3990 MaxDSCBPP = 16; in TruncToValidBPP()
3996 MaxDSCBPP = 16; in TruncToValidBPP()
4009 MaxDSCBPP = 16; in TruncToValidBPP()
4012 MaxDSCBPP = 16; in TruncToValidBPP()
4033 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
4034 return MaxDSCBPP; in TruncToValidBPP()
4051 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
Ddml2_core_dcn4_calcs.c1302 double MaxDSCBPP; in TruncToValidBPP() local
1313 MaxDSCBPP = 16; in TruncToValidBPP()
1319 MaxDSCBPP = 16; in TruncToValidBPP()
1332 MaxDSCBPP = 16; in TruncToValidBPP()
1335 MaxDSCBPP = 16; in TruncToValidBPP()
1356 } else if (MaxLinkBPP >= MaxDSCBPP) { in TruncToValidBPP()
1357 return MaxDSCBPP; in TruncToValidBPP()
1374 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()