Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A 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()
3367 if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3376 if (DecimalBPP >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A 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()
3361 if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3370 if (DecimalBPP >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.h296 double DesiredBPP,
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A 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;
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A 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;