]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/panthor: Ignore devfreq_{suspend, resume}_device() failures
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 11 Dec 2024 07:54:17 +0000 (08:54 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 11 Dec 2024 09:03:59 +0000 (10:03 +0100)
commitb0758224e5d83d8ee153645b1e5de98085690b65
tree11e258e6779b6351798393a8a0630412424be025
parentdcddad6c897d568d4503ed0905b87b2530b72f5b
drm/panthor: Ignore devfreq_{suspend, resume}_device() failures

devfreq_{resume,suspend}_device() don't bother undoing the suspend_count
modifications if something fails, so either it assumes failures are
harmless, or it's super fragile/buggy. In either case it's not something
we can address at the driver level, so let's just assume failures are
harmless for now, like is done in panfrost.

v3:
- Add R-b

v2:
- Add R-b

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Adrian Larumbe <adrian.larumbe@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241211075419.2333731-4-boris.brezillon@collabora.com
drivers/gpu/drm/panthor/panthor_devfreq.c
drivers/gpu/drm/panthor/panthor_devfreq.h
drivers/gpu/drm/panthor/panthor_device.c