Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

From: Rob Herring
Date: Wed May 22 2019 - 16:54:29 EST


On Wed, May 22, 2019 at 2:41 PM ClÃment PÃron <peron.clem@xxxxxxxxx> wrote:
>
> Hi Rob,
>
> On Wed, 22 May 2019 at 21:27, Rob Herring <robh+dt@xxxxxxxxxx> wrote:
> >
> > On Tue, May 21, 2019 at 11:11 AM ClÃment PÃron <peron.clem@xxxxxxxxx> wrote:
> > >
> > > Hi,
> > >
> > > The Allwinner H6 has a Mali-T720 MP2 which should be supported by
> > > the new panfrost driver. This series fix two issues and introduce the
> > > dt-bindings but a simple benchmark show that it's still NOT WORKING.
> > >
> > > I'm pushing it in case someone want to continue the work.
> > >
> > > This has been tested with Mesa3D 19.1.0-RC2 and a GPU bitness patch[1].
> > >
> > > One patch is from Icenowy Zheng where I changed the order as required
> > > by Rob Herring[2].
> > >
> > > Thanks,
> > > Clement
> > >
> > > [1] https://gitlab.freedesktop.org/kszaq/mesa/tree/panfrost_64_32
> > > [2] https://patchwork.kernel.org/patch/10699829/
> > >
> > >
> > > [ 345.204813] panfrost 1800000.gpu: mmu irq status=1
> > > [ 345.209617] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> > > 0x0000000002400400
> > > [ 345.209617] Reason: TODO
> > > [ 345.209617] raw fault status: 0x800002C1
> > > [ 345.209617] decoded fault status: SLAVE FAULT
> > > [ 345.209617] exception type 0xC1: TRANSLATION_FAULT_LEVEL1
> > > [ 345.209617] access type 0x2: READ
> > > [ 345.209617] source id 0x8000
> > > [ 345.729957] panfrost 1800000.gpu: gpu sched timeout, js=0,
> > > status=0x8, head=0x2400400, tail=0x2400400, sched_job=000000009e204de9
> > > [ 346.055876] panfrost 1800000.gpu: mmu irq status=1
> > > [ 346.060680] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> > > 0x0000000002C00A00
> > > [ 346.060680] Reason: TODO
> > > [ 346.060680] raw fault status: 0x810002C1
> > > [ 346.060680] decoded fault status: SLAVE FAULT
> > > [ 346.060680] exception type 0xC1: TRANSLATION_FAULT_LEVEL1
> > > [ 346.060680] access type 0x2: READ
> > > [ 346.060680] source id 0x8100
> > > [ 346.561955] panfrost 1800000.gpu: gpu sched timeout, js=1,
> > > status=0x8, head=0x2c00a00, tail=0x2c00a00, sched_job=00000000b55a9a85
> > > [ 346.573913] panfrost 1800000.gpu: mmu irq status=1
> > > [ 346.578707] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> > > 0x0000000002C00B80
> > >
> > > Change in v5:
> > > - Remove fix indent
> > >
> > > Changes in v4:
> > > - Add bus_clock probe
> > > - Fix sanity check in io-pgtable
> > > - Add vramp-delay
> > > - Merge all boards into one patch
> > > - Remove upstreamed Neil A. patch
> > >
> > > Change in v3 (Thanks to Maxime Ripard):
> > > - Reauthor Icenowy for her path
> > >
> > > Changes in v2 (Thanks to Maxime Ripard):
> > > - Drop GPU OPP Table
> > > - Add clocks and clock-names in required
> > >
> > > ClÃment PÃron (5):
> > > drm: panfrost: add optional bus_clock
> > > iommu: io-pgtable: fix sanity check for non 48-bit mali iommu
> > > dt-bindings: gpu: mali-midgard: Add H6 mali gpu compatible
> > > arm64: dts: allwinner: Add ARM Mali GPU node for H6
> > > arm64: dts: allwinner: Add mali GPU supply for H6 boards
> > >
> > > Icenowy Zheng (1):
> > > dt-bindings: gpu: add bus clock for Mali Midgard GPUs
> >
> > I've applied patches 1 and 3 to drm-misc. I was going to do patch 4
> > too, but it doesn't apply.
>
> Thanks,
>
> I have tried to applied on drm-misc/for-linux-next but it doesn't apply too.
> It looks like commit d5ff1adb3809e2f74a3b57cea2e57c8e37d693c4 is
> missing on drm-misc ?
> https://github.com/torvalds/linux/commit/d5ff1adb3809e2f74a3b57cea2e57c8e37d693c4#diff-c3172f5d421d492ff91d7bb44dd44917

5.2-rc1 is merged in now and I've applied patch 4.

Rob