Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp521135rdb; Thu, 1 Feb 2024 16:10:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHc1EtxlFDbviHwRfyqS7+Z3gbg52K8FBlfklOvcIBBRGbDnSMhX8zBtO9NepVSK0sNjQch X-Received: by 2002:a05:6214:260d:b0:685:97e7:afce with SMTP id gu13-20020a056214260d00b0068597e7afcemr5090663qvb.10.1706832649138; Thu, 01 Feb 2024 16:10:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706832649; cv=pass; d=google.com; s=arc-20160816; b=Z4LYF08OwTv976KLUsFPygvuGBxOf5G3x/maqfYGFmRmwBBK0fKFDbKdyN9QexKI+1 xW3LJzEWwtuH9OIrolT2ivz0N7GNdhkf25cPgTmmm6/Ql7YJAGWpwGOwbSLAnZO6CyvH Y0wGtbaatcDomk0nQnFjCD9VSSg+yJXymFkl1p8VRf6BQFWtS71D+Upw09gUrFXuwUup ywIbIdgse9fyv4xvJryQBxn3cj+x8J4JqDLUs7i12bsZsG3behDsq9IdgA9iqc0N9gF8 7ByDyyjt90qXleduJXrSnerBX85pnH8ZNfg76IXBnFdk1yp6JeBaUlHm0RPeir+yTkt1 ldxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=VbLOte3MFtajwZ7n5285TiGBa5qns5AxuRjAufmtKpI=; fh=f/Zc5VGJaBoOWZbS+UXzUdR9awYKtL1pCb1iZvKLDFk=; b=f9RzJfHbgK8XeDY8aTBJZDvQBsM4ULg5vjEu6tzXQVmsoC28d14i0OqrCeNPg4rW5F JGz9YMNcYnYk0P4yFoj0fUhHsxh9XZPhGVwR9Upr4FVcllh3u3WKI/LJpjhcAmUYQt4a 9nQAXGIKInTv8Gn7pmYPRXoVDkaL0qrHsnLqCLbrQk/HFAPBjxpOvLVcNFwHaBJnQkaJ WyT4XvntFof+oSFSac+jvDWx3mn/xirUXcuOJEeENBFTAlVRPt0IWiLUcPTDKPOxLiH8 rHBvhTCkbpcxoMo85LYWOnwhnHHabPtu+p4D4/BNCByXf8SI2abcbrI3vdZu1f+iwo6m rOyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mEuP9xES; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCVxwui1t26Rrv9k4h7cWMXLoZ4lbRjSiw5AKmJmc5EXRMEj9fmF1D8RVEsx9YogsVpg93srSpYxfQCDVkFfKBNd7SEdIiyclKkzQu0GDg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z10-20020a05620a08ca00b007833d053697si737393qkz.658.2024.02.01.16.10.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 16:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mEuP9xES; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DE26B1C23BC1 for ; Fri, 2 Feb 2024 00:10:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8266915A8; Fri, 2 Feb 2024 00:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mEuP9xES" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 A19D27E9 for ; Fri, 2 Feb 2024 00:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706832642; cv=none; b=kf/txtyTaKhy4kPTCDFQ2MqHsgNt9aqAGxNxEmcenihQ006bMd8d7pCH5wuKjp2SUadf7iVA77y5L+m+wIZYL+8P5Dovb5zm/0wZbWN05Y/a22wIleORPMJFGtVYwVo+6B7AtvPSYCWGgKeTsgdKsZOy/hmDbCajyBq8uojxthQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706832642; c=relaxed/simple; bh=oSugeVUiRO1IiMt6Ita7KviMhoi4orEYII2dW/trClE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=mJjZKijovyY+gBZiRlUdGXC+bOjEe91/42v6ly2xr6MUgPK0EXGBxRVlVcoWxsLcFBefIWefifcVBhy3u6bEPZTdygz1dlhNYvRj5DldfWFsOnwb+cAdqCQ96LtTtPz/6CVJFevf6nirNDiOdmGAn4SN/uWo9Sva3pZw5hQcSvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=mEuP9xES; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 411MYTkk027656; Fri, 2 Feb 2024 00:10:28 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:to:cc; s=qcppdkim1; bh=VbL Ote3MFtajwZ7n5285TiGBa5qns5AxuRjAufmtKpI=; b=mEuP9xESAVkYf6OCuFV mqUHCs1pC78kR7tLJPkMZa7mLdu5/w2FdWBcysgoI/0BJm6gXoa/q/FifaWIyVVN UdGkYJG2EaSyXeJ27Fs5g+6wS0oeB3p15V+PhOY13i1+w0TnixLQqrNg7+oIKxM1 MtIiiCzDALvwg0Nd5ieBGDBU1j3Ad8wr01fj9N5brKjeAstrTIyQ+l9NkYsDACYs acJj2UXCFhvb1FCffPEfIky28W4JY1uwMj5jZV2mBUdm14vztSZqJigtfJn1/7vj Mp2KrBJxcrqe+ywCb5IkBwnuFUCHiKuz6nARa/BxmvPXA1LBaQfdOTNyrkSAgTLq Wjw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w0m6yr80q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Feb 2024 00:10:28 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4120ARfs001811 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Feb 2024 00:10:27 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.40; Thu, 1 Feb 2024 16:10:27 -0800 From: Jessica Zhang Date: Thu, 1 Feb 2024 16:10:15 -0800 Subject: [PATCH v2] drm/panel: visionox-vtdr6130: Set prepare_prev_first flag Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240201-visionox-vtdr-prev-first-v2-1-32db52867624@quicinc.com> X-B4-Tracking: v=1; b=H4sIAOYyvGUC/3WNMQ7CMAxFr1J5xihJCxVM3AN1KI5LPdBAEqKiK ncnFFbG5+///gKBvXCAY7WA5yRB3FTAbCqgsZ+ujGILg1GmVq1u8fviZkzReryXDg7iQ0RWqmd lmOkwQKmXaJB5VZ+7wqOE6PxrXUr6c/1Jze6/NGnUWF+oaYiptbQ/PZ5CMtGW3A26nPMbDnu66 MIAAAA= To: CC: Jessica Zhang , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , , , X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706832627; l=1892; i=quic_jesszhan@quicinc.com; s=20230329; h=from:subject:message-id; bh=oSugeVUiRO1IiMt6Ita7KviMhoi4orEYII2dW/trClE=; b=AwxIdw86VDWNgXc3wjMmBtu21IgQbIEY90HbrEMQdifIr5I/Xtx5dOAL5yC4Qpb6x3YZT1w+c 7XJsBN/0y2tClxXyqy3jmkyYF4vIK8NXB3Kod87X9OcNPIpWh0bP+eu X-Developer-Key: i=quic_jesszhan@quicinc.com; a=ed25519; pk=gAUCgHZ6wTJOzQa3U0GfeCDH7iZLlqIEPo4rrjfDpWE= 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-GUID: SfIuagOzIEyGjAUZWXKwHCSMESuAx8EW X-Proofpoint-ORIG-GUID: SfIuagOzIEyGjAUZWXKwHCSMESuAx8EW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-01_09,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 malwarescore=0 spamscore=0 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2402010186 The DSI host must be enabled for the panel to be initialized in prepare(). Set the prepare_prev_first flag to guarantee this. Signed-off-by: Jessica Zhang --- To: Neil Armstrong To: Sam Ravnborg To: David Airlie To: Daniel Vetter To: Jessica Zhang To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann Cc: quic_abhinavk@quicinc.com Cc: quic_parellan@quicinc.com Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Changes in v2: - Corrected commit message to mention that DCS on commands are sent during prepare() instead of probe() - Dropped Fixes tag - Rebased onto tip of linux-next - Link to v1: https://lore.kernel.org/r/20230725-visionox-vtdr-prev-first-v1-1-3bc44cec7dc6@quicinc.com --- drivers/gpu/drm/panel/panel-visionox-vtdr6130.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c b/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c index a23407b9f6fb6..540099253e1bd 100644 --- a/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c +++ b/drivers/gpu/drm/panel/panel-visionox-vtdr6130.c @@ -287,6 +287,7 @@ static int visionox_vtdr6130_probe(struct mipi_dsi_device *dsi) dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_NO_EOT_PACKET | MIPI_DSI_CLOCK_NON_CONTINUOUS; + ctx->panel.prepare_prev_first = true; drm_panel_init(&ctx->panel, dev, &visionox_vtdr6130_panel_funcs, DRM_MODE_CONNECTOR_DSI); --- base-commit: 51b70ff55ed88edd19b080a524063446bcc34b62 change-id: 20230717-visionox-vtdr-prev-first-e00ae02eec9f Best regards, -- Jessica Zhang