mirror_ubuntu-kernels/drivers/gpu/drm/imx
Paul Cercueil 10709aa890
drm: imx/dcss: Remove #ifdef guards for PM related functions
Use the EXPORT_GPL_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: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Tested-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221129191733.137897-11-paul@crapouillou.net
2022-12-12 13:07:01 +00:00
..
dcss drm: imx/dcss: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
dw_hdmi-imx.c drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe 2022-04-04 09:37:42 +02:00
imx-drm-core.c drm/fb-helper: Move generic fbdev emulation into separate source file 2022-11-05 17:12:04 +01:00
imx-drm.h drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
imx-ldb.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
imx-tve.c Linux 6.1-rc6 2022-11-24 11:05:43 +10:00
ipuv3-crtc.c drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
ipuv3-plane.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
ipuv3-plane.h drm/imx: ipuv3-plane: use drm managed resources 2021-01-04 12:59:34 +01:00
Kconfig drm/imx: Kconfig: Remove duplicated 'select DRM_KMS_HELPER' line 2022-11-01 14:36:17 +01:00
Makefile drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
parallel-display.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00