]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panthor: Be robust against runtime PM resume failures in the suspend path
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 11 Dec 2024 07:54:16 +0000 (08:54 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 11 Dec 2024 09:03:54 +0000 (10:03 +0100)
commitdcddad6c897d568d4503ed0905b87b2530b72f5b
treed1ac443555b9787d6509a092345527ecc44d55bd
parent4bd56ca8226dda6115bca385b166ef87e867d807
drm/panthor: Be robust against runtime PM resume failures in the suspend path

The runtime PM resume operation is not guaranteed to succeed, but if it
fails, the device should be in a suspended state. Make sure we're robust
to resume failures in the unplug path.

v3:
- Fix typo
- Add R-bs

v2:
- Move the bit that belonged in the next commit
- Drop the panthor_device_unplug() changes

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