• Home
  • Raw
  • Download

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 & 0xFF, panfrost_exception_name(pfdev, fault_status), 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()
139 quirks = 0; in panfrost_gpu_init_quirks()
140 if ((panfrost_model_eq(pfdev, 0x860) || panfrost_model_eq(pfdev, 0x880)) && in panfrost_gpu_init_quirks()
141 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks()
143 else if (panfrost_model_eq(pfdev, 0x6000) && in panfrost_gpu_init_quirks()
184 #define GPU_REV(name, r, p) GPU_REV_EXT(name, r, p, 0, )
188 GPU_MODEL(t600, 0x600,
189 GPU_REV_EXT(t600, 0, 0, 1, _15dev0)),
190 GPU_MODEL(t620, 0x620,
191 GPU_REV(t620, 0, 1), GPU_REV(t620, 1, 0)),
192 GPU_MODEL(t720, 0x720),
193 GPU_MODEL(t760, 0x750,
194 GPU_REV(t760, 0, 0), GPU_REV(t760, 0, 1),
195 GPU_REV_EXT(t760, 0, 1, 0, _50rel0),
196 GPU_REV(t760, 0, 2), GPU_REV(t760, 0, 3)),
197 GPU_MODEL(t820, 0x820),
198 GPU_MODEL(t830, 0x830),
199 GPU_MODEL(t860, 0x860),
200 GPU_MODEL(t880, 0x880),
202 GPU_MODEL(g71, 0x6000,
203 GPU_REV_EXT(g71, 0, 0, 1, _05dev0)),
204 GPU_MODEL(g72, 0x6001),
205 GPU_MODEL(g51, 0x7000),
206 GPU_MODEL(g76, 0x7001),
207 GPU_MODEL(g52, 0x7002),
208 GPU_MODEL(g31, 0x7003,
209 GPU_REV(g31, 1, 0)),
216 u64 hw_feat = 0; in panfrost_gpu_init_features()
231 for (i = 0; i < 4; i++) in panfrost_gpu_init_features()
238 for (i = 0; i < num_js; i++) in panfrost_gpu_init_features()
257 pfdev->features.revision = gpu_id & 0xffff; in panfrost_gpu_init_features()
263 if (pfdev->features.id == 0x6956) in panfrost_gpu_init_features()
264 pfdev->features.id = 0x0600; in panfrost_gpu_init_features()
266 major = (pfdev->features.revision >> 12) & 0xf; in panfrost_gpu_init_features()
267 minor = (pfdev->features.revision >> 4) & 0xff; in panfrost_gpu_init_features()
268 status = pfdev->features.revision & 0xf; in panfrost_gpu_init_features()
282 for (i = 0; i < MAX_HW_REVS; i++) { in panfrost_gpu_init_features()
286 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
290 if (best >= 0) in panfrost_gpu_init_features()
299 dev_info(pfdev->dev, "mali-%s id 0x%x major 0x%x minor 0x%x status 0x%x", in panfrost_gpu_init_features()
305 …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()
314 dev_info(pfdev->dev, "shader_present=0x%0llx l2_present=0x%0llx", in panfrost_gpu_init_features()
347 gpu_write(pfdev, TILER_PWROFF_LO, 0); in panfrost_gpu_power_off()
348 gpu_write(pfdev, SHADER_PWROFF_LO, 0); in panfrost_gpu_power_off()
349 gpu_write(pfdev, L2_PWROFF_LO, 0); in panfrost_gpu_power_off()
363 DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); in panfrost_gpu_init()
370 if (irq <= 0) in panfrost_gpu_init()
382 return 0; in panfrost_gpu_init()
403 return 0; in panfrost_gpu_get_latest_flush_id()