From f50f921ea365e5a18af36d4ebc7432af24871b75 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 15 Jun 2024 04:23:20 +0000 Subject: [PATCH] drm/amd/display: Enable colorspace property for MST connectors From Mario Limonciello dedc1dfaa6df872c4a89fa0f6affe90d0320f644 in linux-6.6.y/6.6.33 8195979d2dd995d60c2663adf54c69c1bf4eadd1 in mainline linux --- sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 10dd4cd6f59..2104511f3b8 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -606,6 +606,9 @@ dm_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr, &connector->base, dev->mode_config.tile_property, 0); + connector->colorspace_property = master->base.colorspace_property; + if (connector->colorspace_property) + drm_connector_attach_colorspace_property(connector); drm_connector_set_path_property(connector, pathprop); -- 2.20.1