Re: RZ/G2M Power Domain Errors with GPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 22, 2023 at 3:06 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
>
> Hi Adam,
>
> On Sat, May 20, 2023 at 5:13 AM Adam Ford <aford173@xxxxxxxxx> wrote:
> > I am trying to see if the Open Source PowerVR driver [1]  for the 6250
> > can be made to work on the RZ/G2M, and I am having difficulty getting
> > the power domain to turn on.
> >
> > In the GPU node, I set:
> > power-domains = <&sysc R8A774A1_PD_3DG_B>;
>
> LGTM...
>
> > Unfortunately,  when it boots, I get the following error message:
> >
> > [    8.313305] powervr fd000000.gpu: error -ENOENT: failed to add to
> > PM domain 3dg-b
>
> That means genpd_add_device() failed (but why?)...

With a pointer from Marek V, I appear to have the necessary clock and
the power domain operational by borrowing from the down-stream RZ/G2
kernel.  Even if I cannot get the PVR driver working with this kernel,
would you accept the clock and power domain patch now, or do you want
me to wait until we have a user of these (aka PVR) working?

adam
>
> > [    8.320822] powervr: probe of fd000000.gpu failed with error -2
> >
> > Is there something I need to do in order to use this?  it appears the
> > 3DG_B starts 3DG_A if I understand this correctly.
> >
> > Unfortunately, I don't see the parent child relationship between the
> > 3DG_B and the GPU
> >
> > root@beacon-rzg2m:~# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
> > domain                          status          children
> >             performance
> >     /device                                             runtime status
> > ----------------------------------------------------------------------------------------------
> > clock-controller                on
> >             0
> > 3dg-b                           off-0
> >             0
> > 3dg-a                           off-0
> >             0
> >                                                 3dg-b
>
> ... hence the relationship does not show up.
>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux