linux-stable/drivers/gpu/drm/exynos
Paul Cercueil 1d9e6664ad
drm: exynos: Remove #ifdef guards for PM related functions
Use the DEFINE_RUNTIME_DEV_PM_OPS(), SYSTEM_SLEEP_PM_OPS(),
RUNTIME_PM_OPS() and pm_ptr() macros to handle the runtime and suspend
PM callbacks.

These macros allow the suspend and resume 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>
Acked-by: Inki Dae <inki.dae@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221129191733.137897-10-paul@crapouillou.net
2022-12-12 13:12:01 +00:00
..
exynos7_drm_decon.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos5433_drm_decon.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_dp.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dma.c iommu/dma: Make header private 2022-09-09 09:26:22 +02:00
exynos_drm_dpi.c drm: Remove linux/fb.h from drm_crtc.h 2022-07-05 21:14:02 +03:00
exynos_drm_drv.c drm/exynos: mic: Rework initialization 2022-06-14 22:32:16 +09:00
exynos_drm_drv.h
exynos_drm_dsi.c drm: exynos: dsi: Use child panel or bridge find helpers 2022-05-04 17:07:14 +02:00
exynos_drm_fb.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_fb.h
exynos_drm_fbdev.c drm/fb-helper: Perform all fbdev I/O with the same implementation 2022-11-05 17:05:54 +01:00
exynos_drm_fbdev.h
exynos_drm_fimc.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_fimd.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_g2d.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_g2d.h
exynos_drm_gem.c drm/exynos: Implement mmap as GEM object function 2021-12-22 11:39:39 +09:00
exynos_drm_gem.h drm/exynos: Implement mmap as GEM object function 2021-12-22 11:39:39 +09:00
exynos_drm_gsc.c drm/exynos: gsc: Use platform_get_irq() to get the interrupt 2022-03-04 17:13:51 +09:00
exynos_drm_ipp.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_ipp.h
exynos_drm_mic.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_plane.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
exynos_drm_plane.h
exynos_drm_rotator.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_scaler.c drm: exynos: Remove #ifdef guards for PM related functions 2022-12-12 13:12:01 +00:00
exynos_drm_vidi.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos: Fix return type for mixer_mode_valid and hdmi_mode_valid 2022-09-26 10:13:00 +09:00
exynos_mixer.c drm/exynos: Fix return type for mixer_mode_valid and hdmi_mode_valid 2022-09-26 10:13:00 +09:00
Kconfig drm/display: Introduce a DRM display-helper module 2022-04-25 11:19:21 +02:00
Makefile
regs-decon7.h
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h