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

Conversation

6by9
Copy link
Contributor

@6by9 6by9 commented Apr 29, 2024

The "output format" property had been lost in switching to 6.6, and it appears was never implemented for Pi0-3 (only full/limited range RGB).

I want to double check the CCM for BT601, and ideally ought to add the CCM for BT709, but want the CI build for the reporter on https://forums.raspberrypi.com/viewtopic.php?t=369875

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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant