Skip to content

Commit 16f80bb

Browse files
2 parents dc3c4d8 + 35446a3 commit 16f80bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ports:
1111

1212
tasks:
1313
- init: ./aero.py --no-run
14-
command: ./aero.py --only-run
14+
command: ./aero.py --only-run --memory 32G

src/aero_kernel/src/drivers/drm/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,8 @@ fn make_dmt_modes(max_width: u16, max_height: u16) -> Vec<DrmModeInfo> {
10931093

10941094
// Sort the modes by display size:
10951095
result.sort_by(|e, f| {
1096-
(e.hdisplay * e.vdisplay)
1097-
.partial_cmp(&(f.hdisplay * f.vdisplay))
1096+
((e.hdisplay as usize) * (e.vdisplay as usize))
1097+
.partial_cmp(&((f.hdisplay as usize) * (f.vdisplay as usize)))
10981098
.unwrap() // unreachable
10991099
});
11001100

0 commit comments

Comments
 (0)