summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-06-15 04:23:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-06-15 04:23:21 +0000
commit848ce557ba28b826a0fe57449f47a54a324da2d4 (patch)
treec186bb0272974b86b23a64b0f700931b1ac55cf0 /sys
parentbbf0e65b7306222f8f7c0ae7b2e74e67f9404a62 (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c3
1 files changed, 3 insertions, 0 deletions
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);