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

Maxime Ripard maxime at cerno.tech
Mon Mar 6 10:46:41 UTC 2023


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

Signed-off-by: Maxime Ripard <maxime at cerno.tech>
---
Changes in v3:
- Convert only helper functions to container_of_const but drop the
  direct calls in the driver
- Link to v2: https://lore.kernel.org/r/20221207-rpi-hdmi-improvements-v2-0-8ace2d8221ad@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_dpi.c               |   7 +-
 drivers/gpu/drm/vc4/vc4_drv.h               |  65 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c               |  17 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c              | 336 +++++++++++++++++++++++-----
 drivers/gpu/drm/vc4/vc4_hdmi.h              |  25 ++-
 drivers/gpu/drm/vc4/vc4_kms.c               |  16 +-
 drivers/gpu/drm/vc4/vc4_plane.c             |   3 +-
 drivers/gpu/drm/vc4/vc4_txp.c               |  12 +-
 drivers/gpu/drm/vc4/vc4_vec.c               |  14 +-
 11 files changed, 341 insertions(+), 161 deletions(-)
---
base-commit: dc837c1a5137a8cf2e9432c1891392b6a66f4d8d
change-id: 20221207-rpi-hdmi-improvements-3de1c0dba2dc

Best regards,
-- 
Maxime Ripard <maxime at cerno.tech>



More information about the dri-devel mailing list