Skip to content

HDR improvements - #4268

Merged
popcornmix merged 5 commits into
raspberrypi:rpi-5.10.yfrom
mripard:rpi/5.10-hdmi-hdr
Apr 12, 2021
Merged

popcornmix merged 5 commits into
raspberrypi:rpi-5.10.yfrom
mripard:rpi/5.10-hdmi-hdr

Conversation

@mripard

@mripard mripard commented Apr 9, 2021

Copy link
Copy Markdown
Contributor

This is a sync with the HDR support sent upstream plus some changes Dom suggested

mripard added 5 commits April 9, 2021 17:24
…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>
@HiassofT

Copy link
Copy Markdown
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.

@pelwell

pelwell commented Apr 12, 2021

Copy link
Copy Markdown
Contributor

That looks fine to me. Merge if you're happy, @popcornmix.

@popcornmix
popcornmix merged commit c4177d5 into raspberrypi:rpi-5.10.y Apr 12, 2021
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
@mripard
mripard deleted the rpi/5.10-hdmi-hdr branch April 21, 2021 12:10
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.

4 participants