Lines Matching +full:0 +full:x880
35 dev_warn(pfdev->dev, "GPU Fault 0x%08x (%s) at 0x%016llx\n", in panfrost_gpu_irq_handler()
36 fault_status, panfrost_exception_name(fault_status & 0xFF), in panfrost_gpu_irq_handler()
42 gpu_write(pfdev, GPU_INT_MASK, 0); in panfrost_gpu_irq_handler()
61 gpu_write(pfdev, GPU_INT_MASK, 0); in panfrost_gpu_soft_reset()
81 return 0; in panfrost_gpu_soft_reset()
92 gpu_write(pfdev, GPU_PWR_OVERRIDE1, 0xfff | (0x20 << 16)); in panfrost_gpu_amlogic_quirk()
97 u32 quirks = 0; in panfrost_gpu_init_quirks()
110 if (panfrost_model_cmp(pfdev, 0x750) < 0) /* T60x, T62x, T72x */ in panfrost_gpu_init_quirks()
112 else if (panfrost_model_cmp(pfdev, 0x880) <= 0) /* T76x, T8xx */ in panfrost_gpu_init_quirks()
135 quirks = 0; in panfrost_gpu_init_quirks()
136 if ((panfrost_model_eq(pfdev, 0x860) || panfrost_model_eq(pfdev, 0x880)) && in panfrost_gpu_init_quirks()
137 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks()
139 else if (panfrost_model_eq(pfdev, 0x6000) && in panfrost_gpu_init_quirks()
183 #define GPU_REV(name, r, p) GPU_REV_EXT(name, r, p, 0, )
187 GPU_MODEL(t600, 0x600,
188 GPU_REV_EXT(t600, 0, 0, 1, _15dev0)),
189 GPU_MODEL(t620, 0x620,
190 GPU_REV(t620, 0, 1), GPU_REV(t620, 1, 0)),
191 GPU_MODEL(t720, 0x720),
192 GPU_MODEL(t760, 0x750,
193 GPU_REV(t760, 0, 0), GPU_REV(t760, 0, 1),
194 GPU_REV_EXT(t760, 0, 1, 0, _50rel0),
195 GPU_REV(t760, 0, 2), GPU_REV(t760, 0, 3)),
196 GPU_MODEL(t820, 0x820),
197 GPU_MODEL(t830, 0x830),
198 GPU_MODEL(t860, 0x860),
199 GPU_MODEL(t880, 0x880),
201 GPU_MODEL(g71, 0x6000,
202 GPU_REV_EXT(g71, 0, 0, 1, _05dev0)),
203 GPU_MODEL(g72, 0x6001),
204 GPU_MODEL(g51, 0x7000),
205 GPU_MODEL(g76, 0x7001),
206 GPU_MODEL(g52, 0x7002),
207 GPU_MODEL(g31, 0x7003,
208 GPU_REV(g31, 1, 0)),
210 GPU_MODEL(g57, 0x9001,
211 GPU_REV(g57, 0, 0)),
218 GPU_MODEL(g57, 0x9003,
219 GPU_REV(g57, 0, 0)),
226 u64 hw_feat = 0; in panfrost_gpu_init_features()
242 for (i = 0; i < 4; i++) in panfrost_gpu_init_features()
249 for (i = 0; i < num_js; i++) in panfrost_gpu_init_features()
268 pfdev->features.revision = gpu_id & 0xffff; in panfrost_gpu_init_features()
274 if (pfdev->features.id == 0x6956) in panfrost_gpu_init_features()
275 pfdev->features.id = 0x0600; in panfrost_gpu_init_features()
277 major = (pfdev->features.revision >> 12) & 0xf; in panfrost_gpu_init_features()
278 minor = (pfdev->features.revision >> 4) & 0xff; in panfrost_gpu_init_features()
279 status = pfdev->features.revision & 0xf; in panfrost_gpu_init_features()
293 for (i = 0; i < MAX_HW_REVS; i++) { in panfrost_gpu_init_features()
297 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
301 if (best >= 0) in panfrost_gpu_init_features()
310 dev_info(pfdev->dev, "mali-%s id 0x%x major 0x%x minor 0x%x status 0x%x", in panfrost_gpu_init_features()
316 …dev_info(pfdev->dev, "Features: L2:0x%08x Shader:0x%08x Tiler:0x%08x Mem:0x%0x MMU:0x%08x AS:0x%x … in panfrost_gpu_init_features()
325 dev_info(pfdev->dev, "shader_present=0x%0llx l2_present=0x%0llx", in panfrost_gpu_init_features()
402 val, !val, 0, 1000); in panfrost_gpu_power_off()
418 DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); in panfrost_gpu_init()
425 if (irq <= 0) in panfrost_gpu_init()
437 return 0; in panfrost_gpu_init()
458 return 0; in panfrost_gpu_get_latest_flush_id()