OpenCloudOS-Kernel/drivers/gpu/drm/sun4i
Piotr Oniszczuk b36a6bb8a1
drm/sun4i: de3: Be explicit about supported modifiers
Currently only linear formats are supported in sun4i-drm driver, but
SoCs like H6 supports AFBC variant of some of them in multiple cores
(GPU, VPU, DE3). Panfrost already implements AFBC compression and is
sometimes confused what should be default choice (linear, AFBC) if DRM
driver is not explicit about modifier support (MiniMyth2 distro with
MythTV app).

After some discussion with Daniel Stone on #panfrost IRC, it was decided
to make modifiers in sun4i-drm explicit, to avoid any kind of guessing,
not just in panfrost, but everywhere. In fact, long term idea is to make
modifier parameter in drm_universal_plane_init() mandatory (non NULL).

Signed-off-by: Piotr Oniszczuk <piotr.oniszczuk@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210605073534.3786194-1-jernej.skrabec@gmail.com
2021-06-07 13:33:46 +02:00
..
Kconfig
Makefile
sun4i_backend.c drm: Switch to %p4cc format modifier 2021-02-17 12:52:59 +01:00
sun4i_backend.h
sun4i_crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
sun4i_crtc.h
sun4i_dotclock.c
sun4i_dotclock.h
sun4i_drv.c drm/aperture: Convert drivers to aperture interfaces 2021-04-14 09:00:04 +02:00
sun4i_drv.h
sun4i_framebuffer.c drm/sun4i: Constify static structs 2020-08-18 10:49:13 +02:00
sun4i_framebuffer.h
sun4i_frontend.c drm/sun4i: frontend: Fix the scaler phase on A33 2020-10-26 11:43:30 +01:00
sun4i_frontend.h drm/sun4i: frontend: Rework a bit the phase data 2020-10-26 11:43:30 +01:00
sun4i_hdmi.h drm/sun4i: hdmi ddc clk: Fix size of m divider 2020-06-10 09:11:49 +02:00
sun4i_hdmi_ddc_clk.c drm/sun4i: hdmi ddc clk: Fix size of m divider 2020-06-10 09:11:49 +02:00
sun4i_hdmi_enc.c drm: sun4i: hdmi: Fix inverted HPD result 2020-07-17 14:03:59 +02:00
sun4i_hdmi_i2c.c
sun4i_hdmi_tmds_clk.c
sun4i_layer.c drm: Use state helper instead of the plane state pointer 2021-02-25 08:05:28 +01:00
sun4i_layer.h
sun4i_lvds.c drm/sun4i: Constify static structs 2020-08-18 10:49:13 +02:00
sun4i_lvds.h
sun4i_rgb.c drm/sun4i: Constify static structs 2020-08-18 10:49:13 +02:00
sun4i_rgb.h
sun4i_tcon.c drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
sun4i_tcon.h drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
sun4i_tv.c drm/sun4i: Constify static structs 2020-08-18 10:49:13 +02:00
sun6i_drc.c drm/sun4i: drc: Make sure we enforce the clock rate 2020-01-08 09:14:08 +01:00
sun6i_mipi_dsi.c Linux 5.9-rc5 2020-09-14 17:19:11 +02:00
sun6i_mipi_dsi.h drm/sun4i: dsi: Allow binding the host without a panel 2020-02-14 16:20:27 +01:00
sun8i_csc.c drm/sun4i: Add support for BT2020 to DE3 2021-01-13 10:33:57 +01:00
sun8i_csc.h drm/sun4i: sun8i-csc: Secondary CSC register correction 2020-09-10 13:08:43 +02:00
sun8i_dw_hdmi.c drm/sun4i: dw-hdmi: Fix max. frequency for H6 2021-02-10 11:20:38 +01:00
sun8i_dw_hdmi.h drm/sun4i: dw-hdmi: always set clock rate 2021-02-10 11:20:01 +01:00
sun8i_hdmi_phy.c drm/sun4i: Fix H6 HDMI PHY configuration 2021-02-10 11:20:13 +01:00
sun8i_hdmi_phy_clk.c
sun8i_mixer.c drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
sun8i_mixer.h drm/sun4i: csc: Rework DE3 CSC macros 2021-01-13 10:33:50 +01:00
sun8i_tcon_top.c
sun8i_tcon_top.h
sun8i_ui_layer.c drm/sun4i: de3: Be explicit about supported modifiers 2021-06-07 13:33:46 +02:00
sun8i_ui_layer.h drm/sun4i: Add alpha property for sun8i UI layer 2021-02-10 11:06:30 +01:00
sun8i_ui_scaler.c
sun8i_ui_scaler.h
sun8i_vi_layer.c drm/sun4i: de3: Be explicit about supported modifiers 2021-06-07 13:33:46 +02:00
sun8i_vi_layer.h drm/sun4i: Add alpha property for sun8i and sun50i VI layer 2021-02-10 11:06:34 +01:00
sun8i_vi_scaler.c
sun8i_vi_scaler.h
sunxi_engine.h