[PATCH v5 0/9] drm/vc4: hdmi: Support the 10/12 bit output
Maxime Ripard
maxime at cerno.tech
Mon Dec 7 10:57:10 EST 2020
Hi,
Here's some patches to enable the HDR output in the RPi4/BCM2711 HDMI
controller.
Let me know what you think,
Maxime
Changes from v4:
- Added the tags from Thomas
- Fixed an issue with the clock doubling
- Changed a comment to match the code being introduced
Changes from v3:
- Don't dereference the connector->state pointer if kzalloc failed
Changes from v2:
- Rebased on current drm-misc-next
- Fixed a bug that was dropping the refresh rate when the bpc count
was increased
Changes from v1:
- Added the coccinelle script to the first patch
- Fixed the pixel_rate ramp up
Maxime Ripard (9):
drm/vc4: hvs: Align the HVS atomic hooks to the new API
drm/vc4: Pass the atomic state to encoder hooks
drm/vc4: hdmi: Take into account the clock doubling flag in
atomic_check
drm/vc4: hdmi: Don't access the connector state in reset if kmalloc
fails
drm/vc4: hdmi: Create a custom connector state
drm/vc4: hdmi: Store pixel frequency in the connector state
drm/vc4: hdmi: Use the connector state pixel rate for the PHY
drm/vc4: hdmi: Limit the BCM2711 to the max without scrambling
drm/vc4: hdmi: Enable 10/12 bpc output
drivers/gpu/drm/vc4/vc4_crtc.c | 22 ++--
drivers/gpu/drm/vc4/vc4_drv.h | 14 +--
drivers/gpu/drm/vc4/vc4_hdmi.c | 154 +++++++++++++++++++++++++---
drivers/gpu/drm/vc4/vc4_hdmi.h | 23 +++--
drivers/gpu/drm/vc4/vc4_hdmi_phy.c | 8 +-
drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 9 ++
drivers/gpu/drm/vc4/vc4_hvs.c | 8 +-
drivers/gpu/drm/vc4/vc4_txp.c | 8 +-
8 files changed, 197 insertions(+), 49 deletions(-)
--
2.28.0
More information about the linux-arm-kernel
mailing list