Re: [RFC v1 0/1] drm: lima: devfreq and cooling device support
From: Martin Blumenstingl
Date: Tue Dec 24 2019 - 06:22:25 EST
On Mon, Dec 16, 2019 at 3:51 AM Qiang Yu <yuq825@xxxxxxxxx> wrote:
[...]
> For the code, I think you may need some lock to protect the time records as
> there are two kernel threads gp/pp will try to mark GPU busy and several
> interrupts try to mark GPU idle.
good catch, thank you for this!
I assume the reason is that the panfrost GPUs are using a "unified"
architecture, while the ones supported by lima don't
I'll add locking so I don't run into trouble.
Thank you!
Martin