Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20v2.c3266 double DesiredBPP, in TruncToValidBPP() argument
3274 if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3276 else if (DecimalBPP >= 15 && (DesiredBPP == 0 || DesiredBPP == 15)) in TruncToValidBPP()
3278 else if (DecimalBPP >= 12 && (DesiredBPP == 0 || DesiredBPP == 12)) in TruncToValidBPP()
3283 if (DecimalBPP >= 36 && (DesiredBPP == 0 || DesiredBPP == 36)) in TruncToValidBPP()
3285 else if (DecimalBPP >= 30 && (DesiredBPP == 0 || DesiredBPP == 30)) in TruncToValidBPP()
3287 else if (DecimalBPP >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3289 else if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3294 if (DecimalBPP / 1.5 >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3296 else if (DecimalBPP / 1.5 >= 20 && (DesiredBPP == 0 || DesiredBPP == 20)) in TruncToValidBPP()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c3272 double DesiredBPP, in TruncToValidBPP() argument
3280 if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3282 else if (DecimalBPP >= 15 && (DesiredBPP == 0 || DesiredBPP == 15)) in TruncToValidBPP()
3284 else if (DecimalBPP >= 12 && (DesiredBPP == 0 || DesiredBPP == 12)) in TruncToValidBPP()
3289 if (DecimalBPP >= 36 && (DesiredBPP == 0 || DesiredBPP == 36)) in TruncToValidBPP()
3291 else if (DecimalBPP >= 30 && (DesiredBPP == 0 || DesiredBPP == 30)) in TruncToValidBPP()
3293 else if (DecimalBPP >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3295 else if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3300 if (DecimalBPP / 1.5 >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3302 else if (DecimalBPP / 1.5 >= 20 && (DesiredBPP == 0 || DesiredBPP == 20)) in TruncToValidBPP()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h296 double DesiredBPP,
Ddisplay_mode_vba_util_32.c1579 double DesiredBPP, in dml32_TruncToValidBPP() argument
1653 if (DesiredBPP == 0) { in dml32_TruncToValidBPP()
1672 if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || in dml32_TruncToValidBPP()
1673 DesiredBPP <= NonDSCBPP0)) || in dml32_TruncToValidBPP()
1674 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) in dml32_TruncToValidBPP()
1677 return DesiredBPP; in dml32_TruncToValidBPP()
1680 *RequiredSlots = dml_ceil(DesiredBPP / MaxLinkBPP * 64, 1); in dml32_TruncToValidBPP()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c3454 double DesiredBPP, in TruncToValidBPP() argument
3510 if (DesiredBPP == 0) { in TruncToValidBPP()
3531 …f (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP ==… in TruncToValidBPP()
3532 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
3535 return DesiredBPP; in TruncToValidBPP()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3598 double DesiredBPP, argument
3654 if (DesiredBPP == 0) {
3675 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP <…
3676 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
3679 return DesiredBPP;
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3706 double DesiredBPP, argument
3762 if (DesiredBPP == 0) {
3783 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP <…
3784 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
3787 return DesiredBPP;