linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: "Clément Péron" <peron.clem@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	ezequiel Garcia <ezequiel@collabora.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: Re: Panfrost impossible to probe without opp table
Date: Fri, 31 May 2019 13:59:47 +0200	[thread overview]
Message-ID: <CAAObsKBuDDF225otw-2kBKufmpS6ng9feBshUPFKNDGv3pE8Ww@mail.gmail.com> (raw)
In-Reply-To: <CAJiuCcfSUAJ2w1qd-OC_CJPXoUVL03dCX1OeaUykNioHkR8Ciw@mail.gmail.com>

On Wed, 29 May 2019 at 23:29, Clément Péron <peron.clem@gmail.com> wrote:
>
> Hi,
>
> I have rebase my kernel on latest 5.2-rc2, and my panfrost driver is
> no more probing.
>
> The issue is coming from f3617b449d0bcf3b5d80a97f51498dcf7463cf7e
>     drm/panfrost: Select devfreq
>
>     Currently, there is some logic for the driver to work without devfreq.
>     However, the driver actually fails to probe if !CONFIG_PM_DEVFREQ.
>
>     Fix this by selecting devfreq, and drop the additional checks
>     for devfreq.
>
> It seems that with this commit the OPP table is now mandatory.
> is it intentional?

Hi Clément,

devfreq support is intentionally required. I got a H64 board which I'm
using to add T720 support to Panfrost.

Once I'm able to test the GPU properly along with frequency scaling, I
will ping you so you can retest and resubmit.

Thanks,

Tomeu

> Actually
> [    3.046237] panfrost 1800000.gpu: clock rate = 432000000
> [    3.051593] panfrost 1800000.gpu: bus_clock rate = 100000000
> [    3.096012] panfrost 1800000.gpu: mali-t720 id 0x720 major 0x1
> minor 0x1 status 0x0
> [    3.103682] panfrost 1800000.gpu: features: 00000000,10309e40,
> issues: 00000000,21054400
> [    3.111789] panfrost 1800000.gpu: Features: L2:0x07110206
> Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002821 AS:0xf
> JS:0x7
> [    3.123435] panfrost 1800000.gpu: shader_present=0x3 l2_present=0x1
> [    3.130405] panfrost 1800000.gpu: Fatal error during devfreq init
>
> With commit reverted
> [    3.038236] panfrost 1800000.gpu: clock rate = 432000000
> [    3.043593] panfrost 1800000.gpu: bus_clock rate = 100000000
> [    3.087994] panfrost 1800000.gpu: mali-t720 id 0x720 major 0x1
> minor 0x1 status 0x0
> [    3.095658] panfrost 1800000.gpu: features: 00000000,10309e40,
> issues: 00000000,21054400
> [    3.103763] panfrost 1800000.gpu: Features: L2:0x07110206
> Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002821 AS:0xf
> JS:0x7
> [    3.115410] panfrost 1800000.gpu: shader_present=0x3 l2_present=0x1
> [    3.122798] [drm] Initialized panfrost 1.0.0 20180908 for
> 1800000.gpu on minor 0
>
>
> Thanks,
> Clément
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-05-31 12:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-29 21:29 Panfrost impossible to probe without opp table Clément Péron
2019-05-31 11:59 ` Tomeu Vizoso [this message]
2019-05-31 12:03   ` Neil Armstrong
2019-05-31 12:09     ` Tomeu Vizoso
2019-05-31 12:13       ` Neil Armstrong
2019-06-03 17:23         ` Clément Péron
2019-06-04  7:09           ` Tomeu Vizoso
2019-06-04  7:57             ` Clément Péron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAObsKBuDDF225otw-2kBKufmpS6ng9feBshUPFKNDGv3pE8Ww@mail.gmail.com \
    --to=tomeu.vizoso@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ezequiel@collabora.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=peron.clem@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).