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

"output format" DRM property for Pi0-3 #6211

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 Jun 7, 2024

Separated from #6133.

Adds support for setting the output format on Pi0-3 (supported on Pi4&5 via existing code and #6133 which is also included here).

Need to double check the CCM for BT601, and ideally ought to add the CCM for BT709.

6by9 added 2 commits June 7, 2024 16:05
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.

2 participants