[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54FE8BA3-BB70-4411-9FD9-4AE460097A95@aosc.io>
Date: Tue, 24 Dec 2019 19:35:36 +0800
From: Icenowy Zheng <icenowy@...c.io>
To: lima@...ts.freedesktop.org,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Alyssa Rosenzweig <alyssa.rosenzweig@...labora.com>
CC: robh@...nel.org, tomeu.vizoso@...labora.com, airlied@...ux.ie,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
steven.price@....com, linux-rockchip@...ts.infradead.org,
wens@...e.org, yuq825@...il.com, daniel@...ll.ch,
linux-amlogic@...ts.infradead.org
Subject: Re: [Lima] [RFC v1 0/1] drm: lima: devfreq and cooling device support
于 2019年12月24日 GMT+08:00 下午7:28:41, Martin Blumenstingl <martin.blumenstingl@...glemail.com> 写到:
>Hi Alyssa,
>
>On Mon, Dec 16, 2019 at 4:48 PM Alyssa Rosenzweig
><alyssa.rosenzweig@...labora.com> wrote:
>>
>> If so much code is being duplicated over, I'm wondering if it makes
>> sense for us to move some of the common devfreq code to core DRM
>> helpers?
>if you have any recommendation where to put it then please let me know
>(I am not familiar with the DRM subsystem at all)
>
>my initial idea was that the devfreq logic needs the same information
>that the scheduler needs (whether we're submitting something to be
>executed, there was a timeout, ...).
>however, looking at drivers/gpu/drm/scheduler/ this seems pretty
>stand-alone so I'm not sure it should go there
>also the Mali-4x0 GPUs have some "PMU" which *may* be used instead of
It's optional. We cannot promise its existance on a given
hardware, and I heard that at least on Allwinner H5 Mali PMU
is broken.
>polling the statistics internally
>so this is where I realize that with my current knowledge I don't know
>enough about lima, panfrost, DRM or the devfreq subsystem to get a
>good idea where to put the code.
>
>
>Martin
>_______________________________________________
>lima mailing list
>lima@...ts.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/lima
--
使用 K-9 Mail 发送自我的Android设备。
Powered by blists - more mailing lists