Home
last modified time | relevance | path

Searched refs:DecimalBPP (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ !
Ddisplay_mode_vba_20v2.c3265 double DecimalBPP, 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 …]
Ddisplay_mode_vba_20.c3192 double DecimalBPP, in TruncToValidBPP() argument
3200 if (DecimalBPP >= 18) in TruncToValidBPP()
3202 else if (DecimalBPP >= 15) in TruncToValidBPP()
3204 else if (DecimalBPP >= 12) in TruncToValidBPP()
3209 if (DecimalBPP >= 36) in TruncToValidBPP()
3211 else if (DecimalBPP >= 30) in TruncToValidBPP()
3213 else if (DecimalBPP >= 24) in TruncToValidBPP()
3215 else if (DecimalBPP >= 18) in TruncToValidBPP()
3220 if (DecimalBPP / 1.5 >= 24) in TruncToValidBPP()
3222 else if (DecimalBPP / 1.5 >= 20) in TruncToValidBPP()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ !
Ddisplay_mode_vba_21.c3271 double DecimalBPP, 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 …]