linux-stable/drivers/gpu/drm/rcar-du
Paul Cercueil c3ad24aca3
drm: rcar-du: Remove #ifdef guards for PM related functions
Use the DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to handle
the .suspend/.resume callbacks.

These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND 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: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221129191942.138244-4-paul@crapouillou.net
2022-12-12 13:07:02 +00:00
..
Kconfig Linux 6.1-rc6 2022-11-24 11:05:43 +10:00
Makefile drm: rcar-du: Add RZ/G2L DSI driver 2022-11-09 16:45:57 +02:00
rcar_cmm.c drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_cmm.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_crtc.c drm: rcar-du: Fix DSI enable & disable sequence 2022-09-07 23:48:42 +03:00
rcar_du_crtc.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_drv.c drm: rcar-du: Remove #ifdef guards for PM related functions 2022-12-12 13:07:02 +00:00
rcar_du_drv.h drm: rcar-du: Fix DSI enable & disable sequence 2022-09-07 23:48:42 +03:00
rcar_du_encoder.c drm: rcar-du: Fix DSI enable & disable sequence 2022-09-07 23:48:42 +03:00
rcar_du_encoder.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_group.c drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_group.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_kms.c drm: rcar-du: Use %p4cc to print 4CC format 2022-09-07 23:48:40 +03:00
rcar_du_kms.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_plane.c drm: rcar-du: Use %p4cc to print 4CC format 2022-09-07 23:48:40 +03:00
rcar_du_plane.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_regs.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_vsp.c drm: rcar-du: Add DRM_MODE_BLEND_PIXEL_NONE support 2022-09-07 23:48:39 +03:00
rcar_du_vsp.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_writeback.c drm: rcar-du: Use %p4cc to print 4CC format 2022-09-07 23:48:40 +03:00
rcar_du_writeback.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_dw_hdmi.c drm: rcar-du: dw-hdmi: Set output port number 2021-07-28 16:33:18 +03:00
rcar_lvds.c drm: rcar-du: lvds: Rename pclk enable/disable functions 2022-09-07 23:48:41 +03:00
rcar_lvds.h drm: rcar-du: lvds: Rename pclk enable/disable functions 2022-09-07 23:48:41 +03:00
rcar_lvds_regs.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_mipi_dsi.c drm: rcar-du: dsi: Fix VCLKSET write 2022-09-07 23:48:42 +03:00
rcar_mipi_dsi.h drm: rcar-du: Fix DSI enable & disable sequence 2022-09-07 23:48:42 +03:00
rcar_mipi_dsi_regs.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rzg2l_mipi_dsi.c drm: rcar-du: rzg2l_mipi_dsi: Enhance device lanes check 2022-11-09 16:45:58 +02:00
rzg2l_mipi_dsi_regs.h drm: rcar-du: Add RZ/G2L DSI driver 2022-11-09 16:45:57 +02:00