linux-stable/drivers/gpu/drm/panfrost
Paul Cercueil 53d36818ae
drm: panfrost: Remove #ifdef guards for PM related functions
Use the EXPORT_GPL_RUNTIME_DEV_PM_OPS() and pm_ptr() macros to handle
the PM callbacks.

These macros allow the PM functions to be automatically dropped by the
compiler when CONFIG_PM is disabled, without having to use #ifdef
guards.

This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221129191942.138244-3-paul@crapouillou.net
2022-12-12 13:07:01 +00:00
..
Kconfig drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
Makefile drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_devfreq.c drm/panfrost: devfreq: set opp to the recommended one to configure regulator 2022-09-08 11:03:52 +01:00
panfrost_devfreq.h
panfrost_device.c drm: panfrost: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
panfrost_device.h drm: panfrost: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
panfrost_drv.c drm: panfrost: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
panfrost_dump.c drm-misc-next for 6.2: 2022-10-25 11:42:18 +10:00
panfrost_dump.h drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_features.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_gem.c
panfrost_gem.h
panfrost_gem_shrinker.c mm: shrinkers: provide shrinkers with names 2022-07-03 18:08:40 -07:00
panfrost_gpu.c drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_gpu.h
panfrost_issues.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_job.c drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_job.h drm/panfrost: Job should reference MMU not file_priv 2022-05-25 09:14:22 +01:00
panfrost_mmu.c drm/panfrost: Split io-pgtable requests properly 2022-11-09 14:17:39 +00:00
panfrost_mmu.h
panfrost_perfcnt.c drm/gem: Take reservation lock for vmap/vunmap operations 2022-10-18 01:21:38 +03:00
panfrost_perfcnt.h
panfrost_regs.h drm/panfrost: Add specific register offset macros for JS and MMU AS 2022-08-08 12:39:19 +01:00
TODO