Skip to content

Commit 3efe92b

Browse files
committed
fixup! drm/asahi: initdata: New init chain API for rebase
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent e73b891 commit 3efe92b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/asahi/initdata.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ impl<'a> InitDataBuilder::ver<'a> {
109109
let mut t3 = Vec::new();
110110

111111
for _ in 0..curve_cfg.t3_scales.len() {
112-
t3.try_push(Vec::new())?;
112+
t3.push(Vec::new(), GFP_KERNEL)?;
113113
}
114114

115115
for (i, ps) in dyncfg.pwr.perf_states.iter().enumerate() {
116116
let t3_coef = curve_cfg.t3_coefs[i];
117117
if t3_coef == 0 {
118-
t1.try_push(0xffff)?;
118+
t1.push(0xffff, GFP_KERNEL)?;
119119
for j in t3.iter_mut() {
120-
j.try_push(0x3ffffff)?;
120+
j.push(0x3ffffff, GFP_KERNEL)?;
121121
}
122122
continue;
123123
}

0 commit comments

Comments
 (0)