OpenCloudOS-Kernel/drivers/gpu/drm/mediatek
Ben Widawsky e6fc3b6855 drm: Plumb modifiers through plane init
This is the plumbing for supporting fb modifiers on planes. Modifiers
have already been introduced to some extent, but this series will extend
this to allow querying modifiers per plane. Based on this, the client to
enable optimal modifications for framebuffers.

This patch simply allows the DRM drivers to initialize their list of
supported modifiers upon initializing the plane.

v2: A minor addition from Daniel

v3:
* Updated commit message
* s/INVALID/DRM_FORMAT_MOD_INVALID (Liviu)
* Remove some excess newlines (Liviu)
* Update comment for > 64 modifiers (Liviu)

v4: Minor comment adjustments (Liviu)

v5: Some new platforms added due to rebase

v6: Add some missed plane inits (or maybe they're new - who knows at
this point) (Daniel)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-08-01 17:50:06 +01:00
..
Kconfig drm/mediatek: add ARM_SMCCC dependency 2016-08-11 08:42:01 +02:00
Makefile drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_cec.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_cec.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_disp_color.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_ovl.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_rdma.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi_regs.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_crtc.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_crtc.h drm: mediatek: use vblank hooks in struct drm_crtc_funcs 2017-02-21 11:17:54 -05:00
mtk_drm_ddp.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_drm_ddp.h drm/mediatek: add shadow register support 2017-04-08 00:02:13 +08:00
mtk_drm_ddp_comp.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_ddp_comp.h drm/mediatek: add BLS component 2017-04-08 00:02:13 +08:00
mtk_drm_drv.c drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_drv.h drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_fb.c drm: Pass 'dev' to drm_helper_mode_fill_fb_struct() 2016-12-15 14:03:30 +02:00
mtk_drm_fb.h
mtk_drm_gem.c drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_gem.h drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_plane.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
mtk_drm_plane.h drm/mediatek: Remove mtk_drm_plane 2016-08-08 14:20:00 -04:00
mtk_dsi.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_hdmi.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_hdmi.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_ddc.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_regs.h drm/mediatek: enable hdmi output control bit 2016-06-16 16:30:38 +02:00
mtk_mipi_tx.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_mt8173_hdmi_phy.c drm/mediatek: enhance the HDMI driving current 2016-10-19 09:06:53 +08:00