mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-17 06:08:28 +00:00
display: Also prefer <4K modes in the vertical dimension
Apparently 2:1 scaled modes like 1920x2160 are a thing? Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
df53f16f76
commit
8af401ade1
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ static void display_choose_timing_mode(dcp_timing_mode_t *modes, int cnt, dcp_ti
|
|||
for (int i = 1; i < cnt; i++) {
|
||||
COMPARE(modes[i].valid, best->valid);
|
||||
COMPARE(modes[i].width <= 1920, best->width <= 1920);
|
||||
COMPARE(modes[i].height <= 1200, best->height <= 1200);
|
||||
COMPARE(modes[i].fps <= 60 << 16, best->fps <= 60 << 16);
|
||||
COMPARE(modes[i].width, best->width);
|
||||
COMPARE(modes[i].height, best->height);
|
||||
|
|
Loading…
Add table
Reference in a new issue