[Freedreno] [PATCH 1/4] drm/msm: remove qcom, gpu-pwrlevels bindings
Eric Anholt
eric at anholt.net
Mon Jan 30 19:56:50 UTC 2017
Rob Clark <robdclark at gmail.com> writes:
> On Mon, Jan 30, 2017 at 1:21 PM, Eric Anholt <eric at anholt.net> wrote:
>> Rob Clark <robdclark at gmail.com> writes:
>>
>>> The plan is to use the OPP bindings. For now, remove the documentation
>>> for qcom,gpu-pwrlevels, and make the driver fall back to a safe low
>>> clock if the node is not present.
>>>
>>> Note that no upstream dtb use this node. For now we keep compatibility
>>> with this node to avoid breaking compatibility with downstream android
>>> dt files.
>>>
>>> Signed-off-by: Rob Clark <robdclark at gmail.com>
>>
>> Will we need the bus frequency knobs that I see in the old pwrlevels
>> node? If so, what would the plan be for doing that within OPP?
>
> So, that I think is one of the open questions. Jordan knows this
> stuff a lot better than I, but my understanding is that bus and clk
> scale *basically* independently, except that a given gpu clk we want a
> different minimum bus clk.
>
> (I'm not sure if that is a functional requirement, or just what qcom
> arrived at after performance tuning..)
>
> There is some work ongoing to get some sort of upstream bus scaling
> scaling, although I'm not really sure yet what the bindings for this
> would look like.
>
> So basically short answer is "I don't know.. there are too many open
> questions". Maybe in the end we re-introduce qcom,gpu-pwrlevels. But
> I think for now the approach of not documenting it and have safe/slow
> clk fallback in the driver is a reasonable way to move forward with
> getting some basic gpu nodes into upstream dts files.
Yeah, letting the upstream DT bind without the custom OPP stuff for now
seems like progress. If we find that the safe fast freq is too high
then we can drop it down later, and that would just put more pressure on
getting the OPP work finished.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20170130/ae2a10f0/attachment.sig>
More information about the Freedreno
mailing list