Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c1579 double DesiredBPP, in dml32_TruncToValidBPP() argument
1653 *RequiredSlots = dml_ceil(DesiredBPP / MaxLinkBPP * 64, 1); in dml32_TruncToValidBPP()
1655 if (DesiredBPP == 0) { in dml32_TruncToValidBPP()
1674 if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || in dml32_TruncToValidBPP()
1675 DesiredBPP <= NonDSCBPP0)) || in dml32_TruncToValidBPP()
1676 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) in dml32_TruncToValidBPP()
1679 return DesiredBPP; in dml32_TruncToValidBPP()
Ddisplay_mode_vba_util_32.h296 double DesiredBPP,
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3589 double DesiredBPP, argument
3645 if (DesiredBPP == 0) {
3666 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP <…
3667 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
3670 return DesiredBPP;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c3695 double DesiredBPP, argument
3751 if (DesiredBPP == 0) {
3772 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP <…
3773 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
3776 return DesiredBPP;
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c379 dml_float_t DesiredBPP,
2710 dml_float_t DesiredBPP, in TruncToValidBPP() argument
2788 *RequiredSlots = (dml_uint_t)(dml_ceil(DesiredBPP / MaxLinkBPP * 64, 1)); in TruncToValidBPP()
2790 if (DesiredBPP == 0) { in TruncToValidBPP()
2811 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP =… in TruncToValidBPP()
2812 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
2815 return DesiredBPP; in TruncToValidBPP()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c122 double DesiredBPP,
3963 double DesiredBPP, in TruncToValidBPP() argument
4029 if (DesiredBPP == 0) { in TruncToValidBPP()
4050 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP =… in TruncToValidBPP()
4051 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
4054 return DesiredBPP; in TruncToValidBPP()
Ddml2_core_dcn4_calcs.c1286 double DesiredBPP, in TruncToValidBPP() argument
1352 if (DesiredBPP == 0) { in TruncToValidBPP()
1373 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP =… in TruncToValidBPP()
1374 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
1377 return DesiredBPP; in TruncToValidBPP()