[PATCH v2 0/6] drm/vc4: hdmi: Support the 10/12 bit output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux