From: Maxime Ripard <maxime@cerno.tech>
To: Daniel Vetter <daniel.vetter@intel.com>,
David Airlie <airlied@linux.ie>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Maxime Ripard <maxime@cerno.tech>, Eric Anholt <eric@anholt.net>
Cc: Tim Gover <tim.gover@raspberrypi.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
dri-devel@lists.freedesktop.org,
bcm-kernel-feedback-list@broadcom.com,
linux-rpi-kernel@lists.infradead.org,
Phil Elwell <phil@raspberrypi.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/6] drm/vc4: hdmi: Support the 10/12 bit output
Date: Thu, 8 Oct 2020 14:44:07 +0200 [thread overview]
Message-ID: <cover.647a5105d069cdcf8545555d1c381c233675a289.1602161031.git-series.maxime@cerno.tech> (raw)
Hi,
Here's some patches to enable the HDR output in the RPi4 HDMI controller.
This needed a quite intrusive rework in the first patch to allow a CRTC to
have access to the whole DRM state at atomic_enable / atomic_disable time.
Let me know what you think,
Maxime
Changes from v1:
- Added the coccinelle script to the first patch
- Fixed the pixel_rate ramp up
Maxime Ripard (6):
drm/atomic: Pass the full state to CRTC atomic enable/disable
drm/vc4: hvs: Align the HVS atomic hooks to the new API
drm/vc4: Pass the atomic state to encoder hooks
drm/vc4: hdmi: Create a custom connector state
drm/vc4: hdmi: Store pixel frequency in the connector state
drm/vc4: hdmi: Enable 10/12 bpc output
drivers/gpu/drm/arc/arcpgu_crtc.c | 4 +-
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 8 +-
drivers/gpu/drm/arm/hdlcd_crtc.c | 4 +-
drivers/gpu/drm/arm/malidp_crtc.c | 6 +-
drivers/gpu/drm/armada/armada_crtc.c | 8 +-
drivers/gpu/drm/ast/ast_mode.c | 6 +-
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 4 +-
drivers/gpu/drm/drm_atomic_helper.c | 4 +-
drivers/gpu/drm/drm_simple_kms_helper.c | 4 +-
drivers/gpu/drm/exynos/exynos_drm_crtc.c | 4 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 6 +-
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 4 +-
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 4 +-
drivers/gpu/drm/imx/dcss/dcss-crtc.c | 9 +-
drivers/gpu/drm/imx/ipuv3-crtc.c | 6 +-
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 4 +-
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +-
drivers/gpu/drm/meson/meson_crtc.c | 8 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 7 +-
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 4 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 4 +-
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 4 +-
drivers/gpu/drm/omapdrm/omap_crtc.c | 4 +-
drivers/gpu/drm/qxl/qxl_display.c | 4 +-
drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 6 +-
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 6 +-
drivers/gpu/drm/sti/sti_crtc.c | 4 +-
drivers/gpu/drm/stm/ltdc.c | 4 +-
drivers/gpu/drm/sun4i/sun4i_crtc.c | 4 +-
drivers/gpu/drm/tegra/dc.c | 8 +-
drivers/gpu/drm/tidss/tidss_crtc.c | 6 +-
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 4 +-
drivers/gpu/drm/vboxvideo/vbox_mode.c | 4 +-
drivers/gpu/drm/vc4/vc4_crtc.c | 26 +--
drivers/gpu/drm/vc4/vc4_drv.h | 14 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 154 +++++++++++++++-
drivers/gpu/drm/vc4/vc4_hdmi.h | 12 +-
drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 9 +-
drivers/gpu/drm/vc4/vc4_hvs.c | 8 +-
drivers/gpu/drm/vc4/vc4_txp.c | 9 +-
drivers/gpu/drm/virtio/virtgpu_display.c | 4 +-
drivers/gpu/drm/vkms/vkms_crtc.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 4 +-
drivers/gpu/drm/xlnx/zynqmp_disp.c | 6 +-
drivers/gpu/drm/zte/zx_vou.c | 4 +-
include/drm/drm_modeset_helper_vtables.h | 13 +-
48 files changed, 316 insertions(+), 129 deletions(-)
base-commit: 1a11a88cfd9a97e13be8bc880c4795f9844fbbec
--
git-series 0.9.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-10-08 12:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 12:44 Maxime Ripard [this message]
2020-10-08 12:44 ` [PATCH v2 1/6] drm/atomic: Pass the full state to CRTC atomic enable/disable Maxime Ripard
2020-10-08 12:44 ` [PATCH v2 2/6] drm/vc4: hvs: Align the HVS atomic hooks to the new API Maxime Ripard
2020-10-08 12:44 ` [PATCH v2 3/6] drm/vc4: Pass the atomic state to encoder hooks Maxime Ripard
2020-10-08 12:44 ` [PATCH v2 4/6] drm/vc4: hdmi: Create a custom connector state Maxime Ripard
2020-10-08 12:44 ` [PATCH v2 5/6] drm/vc4: hdmi: Store pixel frequency in the " Maxime Ripard
2020-10-08 12:44 ` [PATCH v2 6/6] drm/vc4: hdmi: Enable 10/12 bpc output Maxime Ripard
2020-10-15 9:37 ` Dave Stevenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.647a5105d069cdcf8545555d1c381c233675a289.1602161031.git-series.maxime@cerno.tech \
--to=maxime@cerno.tech \
--cc=airlied@linux.ie \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=daniel.vetter@intel.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=eric@anholt.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=phil@raspberrypi.com \
--cc=tim.gover@raspberrypi.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).