OpenCloudOS-Kernel/drivers/gpu/drm/rcar-du
Abhinav Kumar 57b8280a0a drm: allow passing possible_crtcs to drm_writeback_connector_init()
Clients of drm_writeback_connector_init() initialize the
possible_crtcs and then invoke the call to this API.

To simplify things, allow passing possible_crtcs as a parameter
to drm_writeback_connector_init() and make changes to the
other drm drivers to make them compatible with this change.

changes in v2:
	- split the changes according to their functionality

changes in v3:
	- allow passing possible_crtcs for existing users of
	  drm_writeback_connector_init()
	- squash the vendor changes into the same commit so
	  that each patch in the series can compile individually

changes in v4:
    - keep only changes related to possible_crtcs
	- add line breaks after ARRAY_SIZE
	- stop using temporary variables for possible_crtcs

changes in v5:
    - None

changes in v6:
    - None

changes in v7:
	- wrap long lines to match the coding style of existing drivers
	- Fix indentation and remove parenthesis where not needed
	- use u32 instead of uint32_t for possible_crtcs

Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Patchwork: https://patchwork.freedesktop.org/patch/483501/
Link: https://lore.kernel.org/r/1650984096-9964-2-git-send-email-quic_abhinavk@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-05-02 02:12:59 +03:00
..
Kconfig drm-misc-next for 5.17: 2021-12-10 15:08:21 +10:00
Makefile drm: rcar-du: Drop LVDS device tree backward compatibility 2022-03-03 11:26:35 +02:00
rcar_cmm.c drm: rcar-du: Fix PM reference leak in rcar_cmm_enable() 2021-01-05 07:19:49 +02:00
rcar_cmm.h drm: rcar-du: Add support for CMM 2019-12-18 02:40:03 +02:00
rcar_du_crtc.c drm: rcar-du: crtc: Support external DSI dot clock 2021-12-06 18:19:49 +02:00
rcar_du_crtc.h drm: rcar-du: Improve kernel log messages when initializing encoders 2021-10-07 05:42:04 +03:00
rcar_du_drv.c drm: rcar-du: Drop LVDS device tree backward compatibility 2022-03-03 11:26:35 +02:00
rcar_du_drv.h drm: rcar-du: Add r8a779a0 device support 2021-10-07 05:59:54 +03:00
rcar_du_encoder.c drm: rcar-du: Improve kernel log messages when initializing encoders 2021-10-07 05:42:04 +03:00
rcar_du_encoder.h drm: rcar-du: Drop local encoder variable 2021-01-05 07:20:10 +02:00
rcar_du_group.c drm: rcar-du: Add r8a779a0 device support 2021-10-07 05:59:54 +03:00
rcar_du_group.h drm: rcar-du: kms: Initialize CMM instances 2019-12-18 02:40:04 +02:00
rcar_du_kms.c drm/cma-helper: Export dedicated wrappers for GEM object functions 2021-11-30 09:49:55 +01:00
rcar_du_kms.h drm: rcar-du: Allow importing non-contiguous dma-buf with VSP 2021-10-07 05:42:08 +03:00
rcar_du_plane.c drm-misc-next for v5.18: 2022-03-04 13:41:57 +10:00
rcar_du_plane.h drm: rcar-du: Remove inclusion of drmP.h 2019-01-14 03:51:33 +02:00
rcar_du_regs.h drm: rcar-du: Add r8a779a0 device support 2021-10-07 05:59:54 +03:00
rcar_du_vsp.c drm-misc-next for v5.18: 2022-03-04 13:41:57 +10:00
rcar_du_vsp.h drm: rcar-du: vsp: Extract framebuffer (un)mapping to separate functions 2019-03-18 17:24:46 +02:00
rcar_du_writeback.c drm: allow passing possible_crtcs to drm_writeback_connector_init() 2022-05-02 02:12:59 +03:00
rcar_du_writeback.h drm: rcar-du: Add writeback support for R-Car Gen3 2019-03-18 17:24:51 +02: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: Add r8a77961 support 2022-03-03 11:20:49 +02:00
rcar_lvds.h drm: rcar-du: Don't create encoder for unconnected LVDS outputs 2021-10-07 05:42:02 +03:00
rcar_lvds_regs.h drm: rcar-du: lvds: D3/E3 support 2018-09-25 00:40:56 +03:00
rcar_mipi_dsi.c drm: rcar-du: Add R-Car DSI driver 2021-12-06 18:19:49 +02:00
rcar_mipi_dsi_regs.h drm: rcar-du: Add R-Car DSI driver 2021-12-06 18:19:49 +02:00