Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c3270 double DesiredBPP, in TruncToValidBPP() argument
3278 if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3280 else if (DecimalBPP >= 15 && (DesiredBPP == 0 || DesiredBPP == 15)) in TruncToValidBPP()
3282 else if (DecimalBPP >= 12 && (DesiredBPP == 0 || DesiredBPP == 12)) in TruncToValidBPP()
3287 if (DecimalBPP >= 36 && (DesiredBPP == 0 || DesiredBPP == 36)) in TruncToValidBPP()
3289 else if (DecimalBPP >= 30 && (DesiredBPP == 0 || DesiredBPP == 30)) in TruncToValidBPP()
3291 else if (DecimalBPP >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3293 else if (DecimalBPP >= 18 && (DesiredBPP == 0 || DesiredBPP == 18)) in TruncToValidBPP()
3298 if (DecimalBPP / 1.5 >= 24 && (DesiredBPP == 0 || DesiredBPP == 24)) in TruncToValidBPP()
3300 else if (DecimalBPP / 1.5 >= 20 && (DesiredBPP == 0 || DesiredBPP == 20)) in TruncToValidBPP()
[all …]
/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 …]
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c3552 double DesiredBPP, in TruncToValidBPP() argument
3616 if (DesiredBPP == 0) { in TruncToValidBPP()
3637 …f (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP ==… in TruncToValidBPP()
3638 (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) { in TruncToValidBPP()
3641 return DesiredBPP; in TruncToValidBPP()
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c3735 double DesiredBPP, argument
3795 if (DesiredBPP == 0) {
3816 …if (!((DSCEnable == false && (DesiredBPP == NonDSCBPP2 || DesiredBPP == NonDSCBPP1 || DesiredBPP <…
3817 || (DSCEnable && DesiredBPP >= MinDSCBPP && DesiredBPP <= MaxDSCBPP))) {
3820 return DesiredBPP;