Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 8195979

Browse files
superm1alexdeucher
authored andcommitted
drm/amd/display: Enable colorspace property for MST connectors
MST colorspace property support was disabled due to a series of warnings that came up when the device was plugged in since the properties weren't made at device creation. Create the properties in advance instead. Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Fixes: 69a9596 ("drm/amd/display: Temporary Disable MST DP Colorspace Property"). Reported-and-tested-by: Tyler Schneider <tyler.schneider@amd.com> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3353 Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent ec58991 commit 8195979

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,9 @@ dm_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr,
613613
&connector->base,
614614
dev->mode_config.tile_property,
615615
0);
616+
connector->colorspace_property = master->base.colorspace_property;
617+
if (connector->colorspace_property)
618+
drm_connector_attach_colorspace_property(connector);
616619

617620
drm_connector_set_path_property(connector, pathprop);
618621

0 commit comments

Comments
 (0)