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()
76 return 0; in panfrost_gpu_soft_reset()
87 gpu_write(pfdev, GPU_PWR_OVERRIDE1, 0xfff | (0x20 << 16)); in panfrost_gpu_amlogic_quirk()
92 u32 quirks = 0; in panfrost_gpu_init_quirks()
105 if (panfrost_model_cmp(pfdev, 0x750) < 0) /* T60x, T62x, T72x */ in panfrost_gpu_init_quirks()
107 else if (panfrost_model_cmp(pfdev, 0x880) <= 0) /* T76x, T8xx */ in panfrost_gpu_init_quirks()
130 quirks = 0; in panfrost_gpu_init_quirks()
131 if ((panfrost_model_eq(pfdev, 0x860) || panfrost_model_eq(pfdev, 0x880)) && in panfrost_gpu_init_quirks()
132 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks()
134 else if (panfrost_model_eq(pfdev, 0x6000) && in panfrost_gpu_init_quirks()
178 #define GPU_REV(name, r, p) GPU_REV_EXT(name, r, p, 0, )
182 GPU_MODEL(t600, 0x600,
183 GPU_REV_EXT(t600, 0, 0, 1, _15dev0)),
184 GPU_MODEL(t620, 0x620,
185 GPU_REV(t620, 0, 1), GPU_REV(t620, 1, 0)),
186 GPU_MODEL(t720, 0x720),
187 GPU_MODEL(t760, 0x750,
188 GPU_REV(t760, 0, 0), GPU_REV(t760, 0, 1),
189 GPU_REV_EXT(t760, 0, 1, 0, _50rel0),
190 GPU_REV(t760, 0, 2), GPU_REV(t760, 0, 3)),
191 GPU_MODEL(t820, 0x820),
192 GPU_MODEL(t830, 0x830),
193 GPU_MODEL(t860, 0x860),
194 GPU_MODEL(t880, 0x880),
196 GPU_MODEL(g71, 0x6000,
197 GPU_REV_EXT(g71, 0, 0, 1, _05dev0)),
198 GPU_MODEL(g72, 0x6001),
199 GPU_MODEL(g51, 0x7000),
200 GPU_MODEL(g76, 0x7001),
201 GPU_MODEL(g52, 0x7002),
202 GPU_MODEL(g31, 0x7003,
203 GPU_REV(g31, 1, 0)),
205 GPU_MODEL(g57, 0x9001,
206 GPU_REV(g57, 0, 0)),
213 u64 hw_feat = 0; in panfrost_gpu_init_features()
229 for (i = 0; i < 4; i++) in panfrost_gpu_init_features()
236 for (i = 0; i < num_js; i++) in panfrost_gpu_init_features()
255 pfdev->features.revision = gpu_id & 0xffff; in panfrost_gpu_init_features()
261 if (pfdev->features.id == 0x6956) in panfrost_gpu_init_features()
262 pfdev->features.id = 0x0600; in panfrost_gpu_init_features()
264 major = (pfdev->features.revision >> 12) & 0xf; in panfrost_gpu_init_features()
265 minor = (pfdev->features.revision >> 4) & 0xff; in panfrost_gpu_init_features()
266 status = pfdev->features.revision & 0xf; in panfrost_gpu_init_features()
280 for (i = 0; i < MAX_HW_REVS; i++) { in panfrost_gpu_init_features()
284 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
288 if (best >= 0) in panfrost_gpu_init_features()
297 dev_info(pfdev->dev, "mali-%s id 0x%x major 0x%x minor 0x%x status 0x%x", in panfrost_gpu_init_features()
303 …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()
312 dev_info(pfdev->dev, "shader_present=0x%0llx l2_present=0x%0llx", in panfrost_gpu_init_features()
362 gpu_write(pfdev, TILER_PWROFF_LO, 0); in panfrost_gpu_power_off()
363 gpu_write(pfdev, SHADER_PWROFF_LO, 0); in panfrost_gpu_power_off()
364 gpu_write(pfdev, L2_PWROFF_LO, 0); in panfrost_gpu_power_off()
378 DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); in panfrost_gpu_init()
385 if (irq <= 0) in panfrost_gpu_init()
397 return 0; in panfrost_gpu_init()
418 return 0; in panfrost_gpu_get_latest_flush_id()