mbox series

[v2,0/9] drm/vc4: hdmi: Broadcast RGB, BT601, BT2020

Message ID 20221207-rpi-hdmi-improvements-v2-0-8ace2d8221ad@cerno.tech (mailing list archive)
Headers show
Series drm/vc4: hdmi: Broadcast RGB, BT601, BT2020 | expand

Message

Maxime Ripard Jan. 26, 2023, 1:46 p.m. UTC
Hi,

Here's a collection of patches that have been in the downstream tree for a
while to add a bunch of new features to the HDMI controller.

Let me know what you think,
Maxime

To: Emma Anholt <emma@anholt.net>
To: Maxime Ripard <mripard@kernel.org>
To: David Airlie <airlied@gmail.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>

---
Changes in v2:
- Added a new patch to convert every state accessor to container_of_const
- Added a comment to mention why planes don't need to be checked
- Removed vc4_hdmi.broadcast_rgb field
- Reordered the CSC swap and CSC matrices organization patches to make it clearer
- Link to v1: https://lore.kernel.org/r/20221207-rpi-hdmi-improvements-v1-0-6b15f774c13a@cerno.tech

---
Dave Stevenson (7):
      drm/vc4: hdmi: Add Broadcast RGB property to allow override of RGB range
      drm/vc4: hdmi: Rename full range helper
      drm/vc4: hdmi: Swap CSC matrix channels for YUV444
      drm/vc4: hdmi: Rework the CSC matrices organization
      drm/vc4: hdmi: Add a function to retrieve the CSC matrix
      drm/vc4: hdmi: Add BT.601 Support
      drm/vc4: hdmi: Add BT.2020 Support

Maxime Ripard (2):
      drm/vc4: Switch to container_of_const
      drm/vc4: hdmi: Update all the planes if the TV margins are changed

 drivers/gpu/drm/vc4/tests/vc4_mock.h        |   3 +
 drivers/gpu/drm/vc4/tests/vc4_mock_output.c |   4 +-
 drivers/gpu/drm/vc4/vc4_bo.c                |   2 +-
 drivers/gpu/drm/vc4/vc4_crtc.c              |   4 +-
 drivers/gpu/drm/vc4/vc4_dpi.c               |   7 +-
 drivers/gpu/drm/vc4/vc4_drv.h               |  65 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c               |  19 +-
 drivers/gpu/drm/vc4/vc4_gem.c               |   7 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c              | 343 +++++++++++++++++++++++-----
 drivers/gpu/drm/vc4/vc4_hdmi.h              |  25 +-
 drivers/gpu/drm/vc4/vc4_irq.c               |   2 +-
 drivers/gpu/drm/vc4/vc4_kms.c               |  16 +-
 drivers/gpu/drm/vc4/vc4_plane.c             |   2 +-
 drivers/gpu/drm/vc4/vc4_txp.c               |  12 +-
 drivers/gpu/drm/vc4/vc4_v3d.c               |   2 +-
 drivers/gpu/drm/vc4/vc4_vec.c               |  14 +-
 16 files changed, 355 insertions(+), 172 deletions(-)
---
base-commit: 9fbee811e479aca2f3523787cae1f46553141b40
change-id: 20221207-rpi-hdmi-improvements-3de1c0dba2dc

Best regards,