On 9/30/20 5:54 PM, Lucas Stach wrote: > From: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx> > > According to the documents, the i.MX8M-Mini features a GC320 and a > GCNanoUltra GPU core. Etnaviv detects them as: > > etnaviv-gpu 38000000.gpu: model: GC600, revision: 4653 > etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341 > > This seems to work fine more or less without any changes to the HWDB, > which still might be needed in the future to correct some features, > etc. > > [lst]: Added power domains and switched clock assignments to the > new clock defines used for the composite clocks, instead of > relying on the backwards compat defines. > > Signed-off-by: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx> > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > --- > This patch depends on the power domain support for i.MX8MM, as the > GPUs are in a invalid state (which might lead to full system lockups) > if they are not properly powered on via the power sequencing > implemented in the GPCv2 driver. And that means the three power domains in the MX8MM can not really be used, because there is only one reset for all the GPUs, sigh. Reviewed-by: Marek Vasut <marex@xxxxxxx>