Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp498715rdb; Thu, 1 Feb 2024 15:16:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdsjkpK7UOJkKJKg+jSNnGLSaMOUL2y6V8eWEOKxbOwQLxMupOrVB/Wpdxin8gNeDkmbGf X-Received: by 2002:a17:906:d114:b0:a36:6970:9d16 with SMTP id b20-20020a170906d11400b00a3669709d16mr4930735ejz.13.1706829392738; Thu, 01 Feb 2024 15:16:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706829392; cv=pass; d=google.com; s=arc-20160816; b=UE+fkt178S/EHBgJQkaSQg6JLCSB4mUNGJCJBiWw47gvXkBsSqlAw0Z7DQeDDJtJem lytSx7cM1kp1u3tMMQ/EXJWG91mpFP+meYtvHaC9Slt8fNOWrnBQxYdz/4T5vZu5nk2J 4pEVeusZRvXqCETgRzZ7dPnfIZg+2uApXCn4U8oAv2plVlQ/3NJYqQIHm9/rXysSscn/ S+zAGu8phl57U7ZSSKdDOErclEuL/wBR/hkIJUYFvs7alxI8/y8+ZA8Bms+8bGzorIFC OGchpHtWkyc9rb+klhzXZh9CF7cKJaurbkwxFOhREr3alHx4L2jZ39jv8qUXkQl5KlQU RaUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=m4tXmsGkjhrdAbPMvzX2Vc5kgLbLhYTsco4rss/rGiw=; fh=+bQL7tiNpPgkHdPanNJ3SkgTx2pAZPZKidLhjvbWKw0=; b=xJhUiLfqxtxpP/FqNq3C0HbBmygsRWcmUucP+MG60aKFBf6MWQe0oM0p1ESpN1FsK8 nPpW6ujDFiBeTJeW7baQC+ueKwd3w4EzguoqD0zmTheR1wlL7Q4eH860LpySgM7Bc+9L MvrlOrEHMdIKgE4VeZ9nPSlv0q4PL9oUvesd9LbrpqZRoQcqn801cfR8umatvupb5za+ bLJfh7kn/V/1kosFNpSxn5Y6NQLCg40X7BPn1+VFIUdvFHWutaiEH0tFajnXfyWZdQwg Q7wu1C19uoYosv6lljLu02dh8ZsP2HHI9Y3dTv5flAZZCimnYhiQKGK7q7eUL5EMl74t B2cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AAEX2585; 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-48982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48982-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; AJvYcCVMZa81rQjAb9/XBPmsPIpxfigU+9JETyGQMuy+lU4kd+klWagdwebTHsn9dLtJxAcnqEJ+msChhOgiPaX4Lx2Xe8ASl4uMLjzLQrFzHw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b22-20020a170906491600b00a3657aa4329si246519ejq.278.2024.02.01.15.16.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:16:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AAEX2585; 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-48982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48982-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A1FFA1F24995 for ; Thu, 1 Feb 2024 23:16:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADCBE47F46; Thu, 1 Feb 2024 23:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="AAEX2585" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 C953C47F4A for ; Thu, 1 Feb 2024 23:16:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706829379; cv=none; b=BLFkTDh+QnyRL8VfbdauFfpN5PycHXEINlUdrKyrbAuzN8N/GzKqlsM3qGAQM4fl65qcho3AzDunvE5znOd0f09sdnS91LnGyrDt+hQiKLwDOeg37KmywTnqdKkmdpG/lCs8bkPXxekIbhOb7pZyLeCt6QdcwpgV6SUnP69v4Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706829379; c=relaxed/simple; bh=8DRxgBGU1ReP9XZT3CY1GNWPgF7ZstYhfsgrlplcm8s=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=cXbgqPsD7zRlBwrLOd9UvRVGCToH1BJSxVJGDA/Gf3leTmVexm4mOPCu6nvOfqsrrBBP8F86RWYEJnYLoqeqRmoYUaF29RSXZqrSv7RnxXCcXvwfWMjGOPJj5211dbTvK8t5HQhhRO00GFjpfoEK7OO/iz/fZuh9kVKHWsA8Sis= 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=AAEX2585; arc=none smtp.client-ip=205.220.180.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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 411Mx0Nc031358; Thu, 1 Feb 2024 23:15:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=m4tXmsGkjhrdAbPMvzX2Vc5kgLbLhYTsco4rss/rGiw=; b=AA EX2585kmzo0StrPs3AoKPiYjCFeg10wVuTvCJbNQjV3cUczOteieH56DHPn3br5J hGWj189P4wpi+QQ60C80PrEyS1YcYNpvQiH9EylNjCPu8R3zPC+qRrYNPgyD2yJP 4LB0SWIzDd/9M7/AltqUvzdoJy2d1TEC8AOvIGT1VEeT3SYaTsS3FTJ83n8x/VIZ ebUZBwJNW7SAqkjjc/9T/5qfu00K4KN5oXqJ5F3kTTtxgSNDWZ/SGVS+AyaByduc HfGWZhO49sZe7nA2IrzrLTw6YXMVVLFNpVVk2m1Du+4aM/blK6RX1wsL2jL1KbOd 9D+o8Xti8OzkFU/KRIaw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vyvb5kn03-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Feb 2024 23:15:58 +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 411NFvid013179 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Feb 2024 23:15:57 GMT Received: from [10.71.111.207] (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 15:15:57 -0800 Message-ID: Date: Thu, 1 Feb 2024 15:15:56 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/panel: novatek-nt36523: Set prepare_prev_first Content-Language: en-US To: Konrad Dybcio , Jianhua Lu , Neil Armstrong , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter CC: Marijn Suijten , , References: <20240201-topic-3623_fix-v1-1-86ee6f20876e@linaro.org> From: Jessica Zhang In-Reply-To: <20240201-topic-3623_fix-v1-1-86ee6f20876e@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: We3RrldAbfDccZnd-oJsH14sne14AE_u X-Proofpoint-ORIG-GUID: We3RrldAbfDccZnd-oJsH14sne14AE_u 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_08,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 spamscore=0 clxscore=1011 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2402010179 On 2/1/2024 2:17 PM, Konrad Dybcio wrote: > The .prepare callback contains the init sequence, so the DSI host *must* > be enabled at that point. Set the prepare_prev_first flag to ensure that. > > Signed-off-by: Konrad Dybcio Hi Konrad, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang > --- > drivers/gpu/drm/panel/panel-novatek-nt36523.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36523.c b/drivers/gpu/drm/panel/panel-novatek-nt36523.c > index a189ce236328..32cae1bc9162 100644 > --- a/drivers/gpu/drm/panel/panel-novatek-nt36523.c > +++ b/drivers/gpu/drm/panel/panel-novatek-nt36523.c > @@ -1270,6 +1270,8 @@ static int nt36523_probe(struct mipi_dsi_device *dsi) > return ret; > } > > + pinfo->panel.prepare_prev_first = true; > + > if (pinfo->desc->has_dcs_backlight) { > pinfo->panel.backlight = nt36523_create_backlight(dsi); > if (IS_ERR(pinfo->panel.backlight)) > > --- > base-commit: 51b70ff55ed88edd19b080a524063446bcc34b62 > change-id: 20240201-topic-3623_fix-9198419e5e47 > > Best regards, > -- > Konrad Dybcio >