aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-07-12 23:37:12 +0000
committerMario Limonciello <[email protected]>2025-07-13 11:55:31 +0000
commita6cfa4c8833944f8912c1fa7f95795753f6376ea (patch)
tree6d985817da140118bed5988dafe6f4d0538d4ec8 /drivers/gpu/drm/lima/lima_sched.c
parentdrm: rust: rename as_ref() to from_raw() for drm constructors (diff)
downloadkernel-a6cfa4c8833944f8912c1fa7f95795753f6376ea.tar.gz
kernel-a6cfa4c8833944f8912c1fa7f95795753f6376ea.zip
PM: hibernate: Add stub for pm_hibernate_is_recovering()
Randy reports that amdgpu fails to compile with the following error: ERROR: modpost: "pm_hibernate_is_recovering" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! This happens because pm_hibernate_is_recovering() is only compiled when CONFIG_PM_SLEEP is set. Add a stub for it so that drivers don't need to depend upon CONFIG_PM. Cc: Samuel Zhang <[email protected]> Reported-by: Randy Dunlap <[email protected]> Closes: https://lore.kernel.org/dri-devel/CAJZ5v0h1CX+aTu7dFy6vB-9LM6t5J4rt7Su3qVnq1xx-BFAm=Q@mail.gmail.com/T/#m2b9fe212b35fde11d58fcbc4e0727bc02ebba7b0 Fixes: c2aaddbd2dede ("PM: hibernate: add new api pm_hibernate_is_recovering()") Acked-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions