Entaviv hanging on imx8m Nano

Lucas Stach l.stach at pengutronix.de
Fri Aug 26 09:30:06 PDT 2022


Am Freitag, dem 26.08.2022 um 11:04 -0500 schrieb Adam Ford:
> On Fri, Aug 26, 2022 at 10:19 AM Lucas Stach <l.stach at pengutronix.de> wrote:
> > 
> > Hi Adam,
> > 
> > Am Freitag, dem 26.08.2022 um 10:15 -0500 schrieb Adam Ford:
> > > Lucas et al,
> > > 
> > > I have a custom repo with a bunch of the DSIM stuff from Jagan on 8m
> > > Mini adapted to run on an imx8m Nano.  From what I tell see the
> > > clocks, clock parents, and clock-rates appear to be setup correctly.
> > > At least, the clocks match the parent-child relationships and the
> > > clock rates match that of the NXP kernel.  The GPUMIX power domain
> > > lets the Etnaviv driver enumerate:
> > > 
> > >   etnaviv etnaviv: bound 38000000.gpu (ops gpu_ops [etnaviv])
> > >   etnaviv-gpu 38000000.gpu: model: GC7000, revision: 6203
> > >   [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 1
> > > 
> > > I have the lcdif and DSI working, so I can see images on the screen,
> > > but when I attempt to enable the GPU, I get an error message
> > > indicating a GPU hang:
> > > 
> > >    etnaviv-gpu 38000000.gpu: recover hung GPU!
> > > 
> > > I was hoping someone might have some suggestions as to what I might be
> > > missing.  Do you have any suggestions?
> > 
> > Yes, the etnaviv driver is missing the HWDB entries for the GPU on the
> > Nano. We noticed this recently while Marco was working on a Nano
> > project and just talked about sending out the necessary patches.
> > 
> > I'll send out the patches today and add you to CC.
> 
> Thanks!  I'll test them and reply with by t-b tag.
> > 
Note that you'll also need a fairly recent userspace for this GPU. If
not running Mesa main, you'll need at least the Mesa 22.2-rc.

The GPU on the 8MM did happen to work with old userspace, as it was
just a pretty old design with a new name, the GPUs on 8MN and 8MP are
actually pretty new designs that needed some changes in the userspace
OpenGL driver.

Regards,
Lucas





More information about the linux-arm-kernel mailing list