]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Register devfreq cooling device
authorRobin Murphy <robin.murphy@arm.com>
Thu, 28 Nov 2019 20:54:27 +0000 (20:54 +0000)
committerRob Herring <robh@kernel.org>
Fri, 6 Dec 2019 17:11:59 +0000 (11:11 -0600)
commitbde4f8f52a5c7c9cb050386b726eaf73055c8687
treea61c8a2ed9df9dcb40da77faaf8133b647b8ccf8
parent3825bd48d29cfa2585b1f0577182317a27daf685
drm/panfrost: Register devfreq cooling device

When we have devfreq, also try to register a basic cooling device in
case GPU workloads manage to hit thermal throttling thresholds.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/21f228099321f460d62e0ab7c77b2d2213dd4da8.1574974319.git.robin.murphy@arm.com
drivers/gpu/drm/panfrost/panfrost_devfreq.c