Lines Matching +full:0 +full:x880

39 		dev_warn(pfdev->dev, "GPU Fault 0x%08x (%s) at 0x%016llx\n",  in panfrost_gpu_irq_handler()
40 fault_status, panfrost_exception_name(fault_status & 0xFF), in panfrost_gpu_irq_handler()
46 gpu_write(pfdev, GPU_INT_MASK, 0); in panfrost_gpu_irq_handler()
65 gpu_write(pfdev, GPU_INT_MASK, 0); in panfrost_gpu_soft_reset()
98 if (drm_WARN_ON(pfdev->ddev, atomic_read(&pfdev->cycle_counter.use_count) != 0)) in panfrost_gpu_soft_reset()
99 atomic_set(&pfdev->cycle_counter.use_count, 0); in panfrost_gpu_soft_reset()
101 return 0; in panfrost_gpu_soft_reset()
112 gpu_write(pfdev, GPU_PWR_OVERRIDE1, 0xfff | (0x20 << 16)); in panfrost_gpu_amlogic_quirk()
117 u32 quirks = 0; in panfrost_gpu_init_quirks()
130 if (panfrost_model_cmp(pfdev, 0x750) < 0) /* T60x, T62x, T72x */ in panfrost_gpu_init_quirks()
132 else if (panfrost_model_cmp(pfdev, 0x880) <= 0) /* T76x, T8xx */ in panfrost_gpu_init_quirks()
155 quirks = 0; in panfrost_gpu_init_quirks()
156 if ((panfrost_model_eq(pfdev, 0x860) || panfrost_model_eq(pfdev, 0x880)) && in panfrost_gpu_init_quirks()
157 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks()
159 else if (panfrost_model_eq(pfdev, 0x6000) && in panfrost_gpu_init_quirks()
202 #define GPU_REV(name, r, p) GPU_REV_EXT(name, r, p, 0, )
206 GPU_MODEL(t600, 0x600,
207 GPU_REV_EXT(t600, 0, 0, 1, _15dev0)),
208 GPU_MODEL(t620, 0x620,
209 GPU_REV(t620, 0, 1), GPU_REV(t620, 1, 0)),
210 GPU_MODEL(t720, 0x720),
211 GPU_MODEL(t760, 0x750,
212 GPU_REV(t760, 0, 0), GPU_REV(t760, 0, 1),
213 GPU_REV_EXT(t760, 0, 1, 0, _50rel0),
214 GPU_REV(t760, 0, 2), GPU_REV(t760, 0, 3)),
215 GPU_MODEL(t820, 0x820),
216 GPU_MODEL(t830, 0x830),
217 GPU_MODEL(t860, 0x860),
218 GPU_MODEL(t880, 0x880),
220 GPU_MODEL(g71, 0x6000,
221 GPU_REV_EXT(g71, 0, 0, 1, _05dev0)),
222 GPU_MODEL(g72, 0x6001),
223 GPU_MODEL(g51, 0x7000),
224 GPU_MODEL(g76, 0x7001),
225 GPU_MODEL(g52, 0x7002),
226 GPU_MODEL(g31, 0x7003,
227 GPU_REV(g31, 1, 0)),
229 GPU_MODEL(g57, 0x9001,
230 GPU_REV(g57, 0, 0)),
237 GPU_MODEL(g57, 0x9003,
238 GPU_REV(g57, 0, 0)),
241 GPU_MODEL(g57, 0x9093,
242 GPU_REV(g57, 0, 0)),
249 u64 hw_feat = 0; in panfrost_gpu_init_features()
265 for (i = 0; i < 4; i++) in panfrost_gpu_init_features()
272 for (i = 0; i < num_js; i++) in panfrost_gpu_init_features()
291 pfdev->features.revision = gpu_id & 0xffff; in panfrost_gpu_init_features()
297 if (pfdev->features.id == 0x6956) in panfrost_gpu_init_features()
298 pfdev->features.id = 0x0600; in panfrost_gpu_init_features()
300 major = (pfdev->features.revision >> 12) & 0xf; in panfrost_gpu_init_features()
301 minor = (pfdev->features.revision >> 4) & 0xff; in panfrost_gpu_init_features()
302 status = pfdev->features.revision & 0xf; in panfrost_gpu_init_features()
316 for (i = 0; i < MAX_HW_REVS; i++) { in panfrost_gpu_init_features()
320 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
324 if (best >= 0) in panfrost_gpu_init_features()
333 dev_info(pfdev->dev, "mali-%s id 0x%x major 0x%x minor 0x%x status 0x%x", in panfrost_gpu_init_features()
339 …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()
348 dev_info(pfdev->dev, "shader_present=0x%0llx l2_present=0x%0llx", in panfrost_gpu_init_features()
369 if (atomic_dec_return(&pfdev->cycle_counter.use_count) == 0) in panfrost_cycle_counter_put()
471 val, !val, 0, 2000); in panfrost_gpu_power_off()
480 gpu_write(pfdev, GPU_INT_MASK, 0); in panfrost_gpu_suspend_irq()
495 DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); in panfrost_gpu_init()
502 if (pfdev->gpu_irq < 0) in panfrost_gpu_init()
514 return 0; in panfrost_gpu_init()
535 return 0; in panfrost_gpu_get_latest_flush_id()