drm/amd/display: Enable colorspace property for MST connectors
Subsystems (3)
PATCH v2 1/1 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ä <[email protected]>
Fixes 69a959610229 ("drm/amd/display: Temporary Disable MST DP Colorspace Property").
Reported-and-tested-by Tyler Schneider <[email protected]>
Signed-off-by Mario Limonciello <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +3 -0
@@ -613,6 +613,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);
Signature · 1 line
2.43.0
Quoted 9 lines · Mario Limonciello
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ä <[email protected]>Fixes 69a959610229 ("drm/amd/display: Temporary Disable MST DP Colorspace Property").Reported-and-tested-by Tyler Schneider <[email protected]>Signed-off-by Mario Limonciello <[email protected]>
Reviewed-by Harry Wentland <[email protected]>
Harry
Quoted 18 lines
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +3
-0@@ -613,6 +613,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);