We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ede8ba commit 97dc508Copy full SHA for 97dc508
drivers/gpu/drm/asahi/driver.rs
@@ -131,13 +131,13 @@ impl platform::Driver for AsahiDriver {
131
(hw::GpuGen::G14, hw::GpuVariant::G, &[12, 4, 0]) => {
132
gpu::GpuManagerG14V12_4::new(reg.device(), &res, cfg)? as Arc<dyn gpu::GpuManager>
133
}
134
- (hw::GpuGen::G13, _, &[13, 4, 99, 4]) => {
+ (hw::GpuGen::G13, _, &[13, 5, 0]) => {
135
gpu::GpuManagerG13V13_5::new(reg.device(), &res, cfg)? as Arc<dyn gpu::GpuManager>
136
137
- (hw::GpuGen::G14, hw::GpuVariant::G, &[13, 4, 99, 4]) => {
+ (hw::GpuGen::G14, hw::GpuVariant::G, &[13, 5, 0]) => {
138
gpu::GpuManagerG14V13_5::new(reg.device(), &res, cfg)? as Arc<dyn gpu::GpuManager>
139
140
- (hw::GpuGen::G14, _, &[13, 4, 99, 4]) => {
+ (hw::GpuGen::G14, _, &[13, 5, 0]) => {
141
gpu::GpuManagerG14XV13_5::new(reg.device(), &res, cfg)? as Arc<dyn gpu::GpuManager>
142
143
_ => {
drivers/gpu/drm/asahi/regs.rs
@@ -236,7 +236,7 @@ impl Resources {
236
core_mask_regs.try_push(self.sgx_read32(CORE_MASKS_G14X))?;
237
core_mask_regs.try_push(self.sgx_read32(CORE_MASKS_G14X + 4))?;
238
core_mask_regs.try_push(self.sgx_read32(CORE_MASKS_G14X + 8))?;
239
- (id_clusters >> 28) & 0xf // TODO: guess
+ (id_counts_1 >> 8) & 0xff
240
241
a => {
242
dev_err!(self.dev, "Unknown GPU generation {}\n", a);
0 commit comments