Skip to content

Commit 0e25668

Browse files
committed
fixup! drm/asahi: hw,initdata: Initdata fixes for G14S
1 parent 6921b39 commit 0e25668

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

drivers/gpu/drm/asahi/hw/t602x.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,10 @@ const fn iomaps(chip_id: u32, mcc_count: usize) -> [Option<IOMapping>; 24] {
1515
None, // UVD
1616
None, // unused
1717
None, // DisplayUnderrunWA
18-
Some(IOMapping::new(
19-
match chip_id {
20-
0x6020 => 0x28e460000,
21-
_ => 0x28e478000,
22-
},
23-
0x4000,
24-
0x4000,
25-
false,
26-
)), // AnalogTempSensorControllerRegs
18+
Some(match chip_id {
19+
0x6020 => IOMapping::new(0x28e460000, 0x4000, 0x4000, false),
20+
_ => IOMapping::new(0x28e478000, 0x8000, 0x4000, false),
21+
}), // AnalogTempSensorControllerRegs
2722
None, // PMPDoorbell
2823
Some(IOMapping::new(0x404e08000, 0x8000, 0x8000, true)), // MetrologySensorRegs
2924
None, // GMGIFAFRegs

0 commit comments

Comments
 (0)