Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstate "output format" DRM property, and add support on Pi0-3. #6133

Draft
wants to merge 2 commits into
base: rpi-6.6.y
Choose a base branch
from

Commits on Apr 29, 2024

  1. drm/vc4: hdmi: Add property to allow manual config of RGB or YCbCr

    Add a custom property "Output format" that allows the overriding
    of the default colourspace choice in the way that the old
    firmware hdmi_pixel_encoding property did. If the chosen format is not
    supported, then it will still drop back to the older behaviour.
    
    This won't be acceptable to upstream, but it adds back the missing
    functionality of hdmi_pixel_encoding.
    
    Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
    6by9 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8e12051 View commit details
    Browse the repository at this point in the history
  2. drm/vc4: Add YCbCr matrix for Pi0-3 HDMI output

    Pi4 has had the conversion matrices to drive YCbCr 444 and 422
    output for a while, however Pi0-3 hasn't.
    YCbCr422 can't be supported by the hardware, but YCbCr 444 can be,
    so add the CCM.
    
    Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
    6by9 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4b1d74f View commit details
    Browse the repository at this point in the history