From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 380AE1A189D; Thu, 6 Jun 2024 14:22:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683732; cv=none; b=kSqkIqQZQz9Z8NbA0vH7FGDJQNYkrlazk7DZ7cvU6krPt5gn1iVfgMtDh3ArxrP1HJi28Pfhr3I9mwBJZ/+ClBhtQzVZnJ8B+2T7G935DKcF2LzsgLXq7YM0EVZ70ZCDTbwXyPFvBFC9CtnD0f4+NWi0gcgSX7WMZ1s1nb+gXxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683732; c=relaxed/simple; bh=+Bco33hkzeS2QCbFWkYG591uez6ifuruwHK3jYE4mBw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lQhXEQaClay87LsfCsWl5ou6ZfBqXFDmQlekihYo0UflVh9yOs6gIgH15pFwAaNnSBjqvi06Eb/T91zEcXR38IDl9hSPx8tYJkcoxAQobI8VPYvUPi14X0Ikk3D1aBMr+VDqilQCWO5JP2J8ZdMZ5LEP5dJ5F1D5MQUruY3XjnE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ycK4Hfty; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ycK4Hfty" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDF2BC32782; Thu, 6 Jun 2024 14:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683731; bh=+Bco33hkzeS2QCbFWkYG591uez6ifuruwHK3jYE4mBw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ycK4Hfty3uZkT29CGRTAGbdK1DloNL5fVGs64fPpzBsEogbHZ5BomE9BTNdeFTRK/ +7DWcO+DNfKD7HmnWYQFSQS2qRTWn056c+8Ddikjx4xchNwfEuC/ik2hwgsIDAXj3i 4djcrMpl+QVuWSMWdenu80Cp5JfVXe0lH6jMev8U= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Harry Wentland , Mario Limonciello , Alex Deucher , Sasha Levin , Tyler Schneider Subject: [PATCH 6.6 683/744] drm/amd/display: Enable colorspace property for MST connectors Date: Thu, 6 Jun 2024 16:05:55 +0200 Message-ID: <20240606131754.394360723@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131732.440653204@linuxfoundation.org> References: <20240606131732.440653204@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mario Limonciello [ Upstream commit 8195979d2dd995d60c2663adf54c69c1bf4eadd1 ] 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ä Fixes: 69a959610229 ("drm/amd/display: Temporary Disable MST DP Colorspace Property"). Reported-and-tested-by: Tyler Schneider Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3353 Reviewed-by: Harry Wentland Signed-off-by: Mario Limonciello Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 10dd4cd6f59c9..2104511f3b863 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/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.43.0