Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1298411rwo; Wed, 2 Aug 2023 11:40:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlE84sqesuLCuhLqH6hroxyefnKISRdvSFuC40qq/GVcXdyUBS+cm7/4wu7WFt623JzMd7LY X-Received: by 2002:a17:903:1248:b0:1b8:a74e:56ae with SMTP id u8-20020a170903124800b001b8a74e56aemr17687726plh.40.1691001618668; Wed, 02 Aug 2023 11:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691001618; cv=none; d=google.com; s=arc-20160816; b=TxjajhN+OdRSx7gSJw5wxI1RxSRBElW2PaJrcqkGwjhqkJ39I/nZXSi++26vYKyHMD jbdPI+ZW+m5kqn2bDnE6N8U/fjacMcdmWkKhsnG10yc7p6dexrC7eLA7Mm0O7MaQWxw7 Y1qZ33RJNmGl8jH4FdQSLSPkj8/wH+39K/4ABahiEzcoeF4YEKZw2UsqTLLKix+U7OVN TTXYilvHW0DhJpOm5Xbk3cyMWsMeBN3iSNoymKM33CWjIA3Evp99zDmP4U19314d4pn3 VDi2CW2IvPDTPR/jH8E0AzRdCRH94iwzavVpmohcOq5aPcEqB748VpJsrfjiGWkuvKvL 1SEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=7+rdSljm+ZDF6d34FHMYqNV/gE7egf6igpJ72nu9IuI=; fh=LWwl7zBKZSW8zR8hD6VgzF0OgF7Ft3bCDc50/EguBU8=; b=BGHGqkwT2s8SEJ2aECIhRxiYrnJ8moZdWdsXimeAruPdDf2JNBeyhQ5r8MSdEwB5QS p3ZWDBQu2zOxTgH9/rTgXsdvFu7wg+bjquALQ1IO9LIFbB3HUiGWrDRGiRTtf3krsk6a CIwtV/fCSNlEbJ4KoLCMzoPE51qvN8gj3hIRik8zRM/PL1k15GVqi5e4KqSeYGb02s1J x6qJKenRGR2mktPzMsqoblPThHKfhdvt51pAyxYr5zJziS8DeWSH3uA8BqI2ksetqH/R GvSp4s3C3RYCU+Il9qwpTak9GpIpoLfahHeykDr/uA8TdVvcFbqoJq59ehEXlprE+aYL zs3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eIkOOfXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902e75200b001b83767e879si7279139plf.266.2023.08.02.11.40.06; Wed, 02 Aug 2023 11:40:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eIkOOfXB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234372AbjHBSKJ (ORCPT + 99 others); Wed, 2 Aug 2023 14:10:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234442AbjHBSJz (ORCPT ); Wed, 2 Aug 2023 14:09:55 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E09D30CD; Wed, 2 Aug 2023 11:09:42 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 372HYdti029976; Wed, 2 Aug 2023 18:09:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : references : in-reply-to : to : cc; s=qcppdkim1; bh=7+rdSljm+ZDF6d34FHMYqNV/gE7egf6igpJ72nu9IuI=; b=eIkOOfXBR/BeBMY9fDhrFrFZDccF6PMif6ZsRcyYpHf2poevmo2phc5R4Np8gfmcMbJQ Oa071r+gLYsnV8SneQCfmoCZg27lHtMp1mlZ/cE35934D6hpEm3ASCy/1pFKq03pin9E KSf4hda/y23v27Ocxz67qgECHp2plbMt7h84Fb1c/yGjE2ApZyybtpwJRG3EvD6Ai5vT FvJYhY161xGl/sMGdiwM7HOWwlm0a09XneeDv9HGn5j3G/Tq45RNRCUTsXO61OvR+OV1 5uYE5gSldtsXVy5Wu+bMONaywIpDSOxTa9+5g0msFULBlYeuFwsQo4RmvnKLxXp3FfcL Mw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s7bw9jcjs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 18:09:09 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 372I98NN006543 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Aug 2023 18:09:08 GMT Received: from jesszhan-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 2 Aug 2023 11:09:08 -0700 From: Jessica Zhang Date: Wed, 2 Aug 2023 11:08:50 -0700 Subject: [PATCH v3 3/4] drm/msm/dsi: Add DATABUS_WIDEN MDP_CTRL2 bit MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230802-add-widebus-support-v3-3-2661706be001@quicinc.com> References: <20230802-add-widebus-support-v3-0-2661706be001@quicinc.com> In-Reply-To: <20230802-add-widebus-support-v3-0-2661706be001@quicinc.com> To: Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , , Jessica Zhang X-Mailer: b4 0.13-dev-034f2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690999747; l=923; i=quic_jesszhan@quicinc.com; s=20230329; h=from:subject:message-id; bh=aRMmQo7E922CFIY2TnXZRiHKSErVfoF/5a7XDvCAP28=; b=pmWB7DhlFwG9lrPGKwBaC/b8mGuaIzUSL0rIGF9c9T0LUnCb2KOZ767diCxtiyB3BSti+EZKJ QxjkwUWgzhQCA5bvhh5z96QPSWpnZs0eu268PaUrbepfqRSk/6/MMQS X-Developer-Key: i=quic_jesszhan@quicinc.com; a=ed25519; pk=gAUCgHZ6wTJOzQa3U0GfeCDH7iZLlqIEPo4rrjfDpWE= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: SmVjfW2AqVDIjyAOrg1nbUN1lAr_YtLg X-Proofpoint-GUID: SmVjfW2AqVDIjyAOrg1nbUN1lAr_YtLg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_14,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 adultscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=626 phishscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020161 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a DATABUS_WIDEN bit to the MDP_CTRL2 register to allow DSI to enable databus widen mode. Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/dsi/dsi.xml.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi.xml.h b/drivers/gpu/drm/msm/dsi/dsi.xml.h index a4a154601114..2a7d980e12c3 100644 --- a/drivers/gpu/drm/msm/dsi/dsi.xml.h +++ b/drivers/gpu/drm/msm/dsi/dsi.xml.h @@ -664,6 +664,7 @@ static inline uint32_t DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP(enum dsi_rgb_swap v return ((val) << DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__SHIFT) & DSI_CMD_MODE_MDP_CTRL2_INPUT_RGB_SWAP__MASK; } #define DSI_CMD_MODE_MDP_CTRL2_BURST_MODE 0x00010000 +#define DSI_CMD_MODE_MDP_CTRL2_DATABUS_WIDEN 0x00100000 #define REG_DSI_CMD_MODE_MDP_STREAM2_CTRL 0x000001b8 #define DSI_CMD_MODE_MDP_STREAM2_CTRL_DATA_TYPE__MASK 0x0000003f -- 2.41.0