mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
drm/connector: Create a helper to attach the hdr_output_metadata property
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>
This commit is contained in:
committed by
popcornmix
parent
56400344aa
commit
8debbd4e09
@@ -1622,6 +1622,7 @@ int drm_connector_attach_scaling_mode_property(struct drm_connector *connector,
|
||||
u32 scaling_mode_mask);
|
||||
int drm_connector_attach_vrr_capable_property(
|
||||
struct drm_connector *connector);
|
||||
int drm_connector_attach_hdr_output_metadata_property(struct drm_connector *connector);
|
||||
int drm_mode_create_aspect_ratio_property(struct drm_device *dev);
|
||||
int drm_mode_create_hdmi_colorspace_property(struct drm_connector *connector);
|
||||
int drm_mode_create_dp_colorspace_property(struct drm_connector *connector);
|
||||
|
||||
Reference in New Issue
Block a user