Maybe this clear something about irq nums & names
[ 5.417016] lima: i:0
[ 5.417039] lima 13040000.gpu: IRQ pmu not found
[ 5.424199] lima: irq_name: pmu, irqnum: -6
[ 5.424202] lima: i:1
[ 5.428487] lima: irq_name: gpmmu, irqnum: 215
[ 5.431021] lima: i:2
[ 5.435498] lima: irq_name: ppmmu0, irqnum: 217
[ 5.438030] lima: i:3
[ 5.442572] lima: irq_name: ppmmu1, irqnum: 219
[ 5.445120] lima: i:4
[ 5.449665] lima: irq_name: ppmmu2, irqnum: 221
[ 5.452196] lima: i:5
[ 5.456750] lima: irq_name: ppmmu3, irqnum: 223
[ 5.459282] lima: i:6
[ 5.463819] lima 13040000.gpu: IRQ ppmmu4 not found
[ 5.471237] lima: irq_name: ppmmu4, irqnum: -6
[ 5.471239] lima: i:7
[ 5.475710] lima 13040000.gpu: IRQ ppmmu5 not found
[ 5.483114] lima: irq_name: ppmmu5, irqnum: -6
[ 5.483117] lima: i:8
[ 5.487581] lima 13040000.gpu: IRQ ppmmu6 not found
[ 5.494994] lima: irq_name: ppmmu6, irqnum: -6
[ 5.494996] lima: i:9
[ 5.499445] lima 13040000.gpu: IRQ ppmmu7 not found
[ 5.506860] lima: irq_name: ppmmu7, irqnum: -6
[ 5.506862] lima: i:10
[ 5.511320] lima: irq_name: gp, irqnum: 214
[ 5.513937] lima: i:11
[ 5.518143] lima: irq_name: pp0, irqnum: 216
[ 5.520761] lima: i:12
[ 5.525056] lima: irq_name: pp1, irqnum: 218
[ 5.527675] lima: i:13
[ 5.531956] lima: irq_name: pp2, irqnum: 220
[ 5.534584] lima: i:14
[ 5.538867] lima: irq_name: pp3, irqnum: 222
[ 5.541484] lima: i:15
[ 5.545773] lima 13040000.gpu: IRQ pp4 not found
[ 5.553003] lima: irq_name: pp4, irqnum: -6
[ 5.553005] lima: i:16
[ 5.557203] lima 13040000.gpu: IRQ pp5 not found
[ 5.564446] lima: irq_name: pp5, irqnum: -6
[ 5.564448] lima: i:17
[ 5.568636] lima 13040000.gpu: IRQ pp6 not found
[ 5.575874] lima: irq_name: pp6, irqnum: -6
[ 5.575877] lima: i:18
[ 5.580064] lima 13040000.gpu: IRQ pp7 not found
[ 5.587304] lima: irq_name: pp7, irqnum: -6
[ 5.587307] lima: i:19
[ 5.591489] lima: i:20
[ 5.594105] lima: i:21
[ 5.596732] lima: i:22
[ 5.599349] lima: i:23
[ 5.601966] lima: i:24
[ 5.604610] lima: irq_name: pp, irqnum: 224
[ 5.607228] lima: i:25
[ 5.611415] lima 13040000.gpu: IRQ pmu not found
[ 5.618668] lima: ip-id: 1 ppmmu: 25
[ 5.622329] lima: mmu_read: 0
[ 5.625396] lima 13040000.gpu: mmu gpmmu dte write test fail
And little sorted:
irq_name: pmu, irqnum: -6
irq_name: ppmmu4, irqnum: -6
irq_name: ppmmu5, irqnum: -6
irq_name: ppmmu6, irqnum: -6
irq_name: ppmmu7, irqnum: -6
irq_name: pp4, irqnum: -6
irq_name: pp5, irqnum: -6
irq_name: pp6, irqnum: -6
irq_name: pp7, irqnum: -6
irq_name: gp, irqnum: 214
irq_name: gpmmu, irqnum: 215
irq_name: pp0, irqnum: 216
irq_name: ppmmu0, irqnum: 217
irq_name: pp1, irqnum: 218
irq_name: ppmmu1, irqnum: 219
irq_name: pp2, irqnum: 220
irq_name: ppmmu2, irqnum: 221
irq_name: pp3, irqnum: 222
irq_name: ppmmu3, irqnum: 223
irq_name: pp, irqnum: 224
So 11 irq is found and 9 pcs is missing. Missing names are clear but correct numbers are what?? They need to add in .dtsi. There are maybe (correct??) data for 4 cores but rest 4 are missing. Mali450 have 8 cores.
Maybe probe_irq_on() and probe_irq_off() pair is usableā¦?
Or maybe need to ask from Mediatek all 20 irq number. In Mediatek should be people who knows how they wired their silicon. Who is correct people @Ryder.Lee or some else??