From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 56E9D43990D; Thu, 16 Jul 2026 14:30:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784212238; cv=none; b=TFM7WGtQkDd8a51Xehqjpa9mjHm7oo7+7uHSPqzMB2uH1lLFMiGEAjs6HoOvNOlwKF7o3mfsMgEnJbIgOKDIAxSFZnlCcUlwh/BwusG4bY+Z2XoX2Rv4r3MHHZPNSgEY8hIA/psV/nYbHTnWDfM2sx/CyUjWz6Oj8TTuHbMor9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784212238; c=relaxed/simple; bh=iHCqklDwrE65JHA9BOtlsl3KuC1O6eggswp2XKOCoa8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mN7SA/mqp6pz9l7/kWVHASw+EpL8BiEtMWwKAIjHYc5pgdVYmd7or3E7Iq73ptsExOlppHQyed4LYIMVvwKRiO83kN4Jrs0S8+gD/RgmuLtTBlIdyd6xlYPAZTwy6QD5S0lgxjQegCXmwLrFsxdstVhUATSAKipsduPp/izHBps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yZC6yGta; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yZC6yGta" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FE2C1F00ACA; Thu, 16 Jul 2026 14:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784212234; bh=l+jK/z0mm56L6+Oo/FFWcKk1LPZPhyTu59Axj/9ZcFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=yZC6yGtaVhwqaNfUJ5EZnQMAbT81cV711PijPaGEdVQgXPJZlI2kWOprIbyBaU3JZ pGSW9B1pnNmuvLQJb0MOWRM+A+ggG289hj329+mxobL22NuFt6N+ner1P3VCG0/Zze hTofA6pmBL6uOqEU54/qFkpKLjzrxXRt7ONjJ28k= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , Madhu M , Jameson Thies , Andrei Kuchynski , Heikki Krogerus Subject: [PATCH 6.12 251/349] usb: typec: ucsi: Pass full DP config payload in SET_NEW_CAM for DP alt mode Date: Thu, 16 Jul 2026 15:33:05 +0200 Message-ID: <20260716133038.968537168@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260716133033.287196923@linuxfoundation.org> References: <20260716133033.287196923@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Madhu M commit 735a461d060d4eeb2f9732aba1295bc32a3982e2 upstream. In the UCSI Specification Revision 3.1 RC1, bits 32-63 of the SET_NEW_CAM command hold the 32-bit Alternate Mode Specific (AMSpecific) field. For DisplayPort Alternate Mode, this field must contain the full 32-bit DisplayPort configuration VDO payload that the OPM wants the connector to operate in, rather than just the pin assignment value. This AMSpecific value follows the DisplayPort Configurations defined in the DisplayPort Alt Mode on USB Type-C Specification v2.1a, Table 5-13: SOP DisplayPort Configurations. Fixes: af8622f6a585 ("usb: typec: ucsi: Support for DisplayPort alt mode") Cc: stable Signed-off-by: Madhu M Reviewed-by: Jameson Thies Reviewed-by: Andrei Kuchynski Reviewed-by: Heikki Krogerus Link: https://patch.msgid.link/20260619153311.3526083-1-madhu.m@intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/typec/ucsi/displayport.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/usb/typec/ucsi/displayport.c +++ b/drivers/usb/typec/ucsi/displayport.c @@ -185,13 +185,12 @@ static int ucsi_displayport_status_updat static int ucsi_displayport_configure(struct ucsi_dp *dp) { - u32 pins = DP_CONF_GET_PIN_ASSIGN(dp->data.conf); u64 command; if (!dp->override) return 0; - command = UCSI_CMD_SET_NEW_CAM(dp->con->num, 1, dp->offset, pins); + command = UCSI_CMD_SET_NEW_CAM(dp->con->num, 1, dp->offset, dp->data.conf); return ucsi_send_command(dp->con->ucsi, command, NULL, 0); }