diff options
| author | Boris Brezillon <[email protected]> | 2024-03-04 10:08:12 +0100 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2024-03-11 10:50:37 +0100 |
| commit | 674dc7f61aefea81901c21402946074927e63f1a (patch) | |
| tree | c9c1fe424523d6ba645c92756e4370cccce58780 /tools/perf/scripts/python | |
| parent | eb1dc10a6ee3559310436ab62db93b72310a2a18 (diff) | |
drm/panthor: Fix undefined panthor_device_suspend/resume symbol issue
panthor_device_resume/suspend() are only compiled when CONFIG_PM is
enabled but panthro_drv.c doesn't use the pm_ptr() macro to conditionally
discard resume/suspend assignments, which causes undefined symbol
errors at link time when !PM.
We could fix that by using pm_ptr(), but supporting the !PM case makes
little sense (the whole point of these embedded GPUs is to be low power,
so proper PM is a basic requirement in that case). So let's just enforce
the presence of CONFIG_PM with a Kconfig dependency instead.
If someone needs to relax this dependency, it can be done in a follow-up.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions