-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
VideoLayerBridgeDRMPRIME: set HDR metadata #16103
Conversation
Looks good. I will add the intel properties on top of this |
xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VideoLayerBridgeDRMPRIME.cpp
Show resolved
Hide resolved
We should be able to merge this soon as basic HDR patches have been merged to Before merging we need to have a build test and a |
This deteriorates the design. HDR metadata is already carried in CVideoPicture |
Note that HDR patches have been merged upstream. |
Patches has been updated and is currently rebased on top of #16800 |
e56d126
to
7af1329
Compare
With #16800 merged and kernel HDR parts merged in linux v5.3 this should now be ready for a final round of review and then merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the changes to use the VideoPicture
struct
xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VideoLayerBridgeDRMPRIME.cpp
Outdated
Show resolved
Hide resolved
VideoLayerBridgeDRMPRIME: set HDR metadata
Description
This PR adds code to set HDR metadata for the Direct-To-Plane renderer on the
GBM
platform.This is created as a draft PR as this must not be merged before required patches land in kernel.
Motivation and Context
HDR
How Has This Been Tested?
This has been tested on a Rock64 and Rock Pi 4 with HDR patchset v9 and a patch to set DRM InfoFrame in dw-hdmi driver. HDR mode is successfully activated/deactivated on my LG OLED B7.
(HDR is not fully usable on dw-hdmi as the driver lacks support for a full 10-bit HDMI pipeline)
Screenshots (if appropriate):
Types of change
Checklist: