Repository navigation
HDR improvements - #4268
Merged
Merged
HDR improvements#4268
Conversation
…erty All the drivers that implement HDR output call pretty much the same function to initialise the hdr_output_metadata property, and while the creation of that property is in a helper, every driver uses the same code to attach it. Provide a helper for it as well Signed-off-by: Maxime Ripard <maxime@cerno.tech>
All the drivers that support the HDR metadata property have a similar function to compare the metadata from one connector state to the next, and force a mode change if they differ. All these functions run pretty much the same code, so let's turn it into an helper that can be shared across those drivers. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
We just introduced new helpers, so let's use them. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
The intel driver uses the same logic to attach the Colorspace property in multiple places and we'll need it in vc4 too. Let's move that common code in a helper. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Our driver while supporting HDR didn't send the proper colorimetry info in the AVI infoframe. Let's add the property needed so that the userspace can let us know what the colorspace is supposed to be. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Contributor
|
Testing with LibreELEC/Kodi was fine so far, my LG TV showed BT.2020 in status info when playing BT.2020 files, and the feedback from our users also indicated that colorspace signalling worked correctly on other devices. |
Contributor
|
That looks fine to me. Merge if you're happy, @popcornmix. |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver See: raspberrypi/linux#4258 kernel: sc16is7xx: Defer probe if device read fails See: raspberrypi/linux#4272 kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10 See: raspberrypi/linux#4273 kernel: HDR improvements See: raspberrypi/linux#4268 kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf See: raspberrypi/linux#4277 kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes See: raspberrypi/linux#4276 kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically See: raspberrypi/linux#4283 kernel: overlays: ghost-amp: Add DAC mute control
popcornmix
added a commit
to Hexxeh/rpi-firmware
that referenced
this pull request
Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver See: raspberrypi/linux#4258 kernel: sc16is7xx: Defer probe if device read fails See: raspberrypi/linux#4272 kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10 See: raspberrypi/linux#4273 kernel: HDR improvements See: raspberrypi/linux#4268 kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf See: raspberrypi/linux#4277 kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes See: raspberrypi/linux#4276 kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically See: raspberrypi/linux#4283 kernel: overlays: ghost-amp: Add DAC mute control
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a sync with the HDR support sent upstream plus some changes Dom suggested