Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp132971lqb; Tue, 28 May 2024 10:47:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxkye8jya0K4vdac8KgA3TnKARPxkDoZ/huFda6s4YL/UpbhYrLk8XAESOAgJTn4huo1dyAm4AImVecPEiy+LGHMOMWm7P/HdxW+DXtA== X-Google-Smtp-Source: AGHT+IEjAiiYrAFeKi8hIiBEZUT1dSYR2mxS3K2g1NgrkfQz4p6Ygse2cKk5IHFUVEx7j068Wd2l X-Received: by 2002:a17:903:228e:b0:1f2:fee2:82ed with SMTP id d9443c01a7336-1f448246e73mr175711985ad.30.1716918421038; Tue, 28 May 2024 10:47:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716918421; cv=pass; d=google.com; s=arc-20160816; b=bfHzOId1YozVz5z85DB/GdukBdyY06fVVoNRrQvsJUxqEKH3Tik9w+A/XS//frBEWs 3jfaJ3qx7IAyFyDf0Nus0azGKQET8bHY/f5tHlM4q6C1uhNFUXfYhxO1/Xd5LiFcH6N1 zHtwY/oII0ydGRSzoucnTS4oBrM1GdrH3+b/nXqQhQpPwmMyYD3Zzi8YTsRqn+DUxgxl jfaVBpjjryMiP274gPCtiLhzEMa/z9XnEF1Bs4CLCzqdTyIMRmBJehRHvujrSJ5KVrXA zrTdPqUYJYG4cbA8WT1sFkSgmzv+vmVQwPIGL87DgeMJxoWhB44jWgbgx2IA25Sca6fB TgaA== 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=oXVyVl2a5aDHRU+CCBAA0GXXBqDn6MOFdRg8YLMIyOA=; fh=K10cxV/vT/eDRo3Hbo1ZUzzYmGj/8tB/vSpTVLIraig=; b=uBq5eH58iLJkFpVP7XE+XH+r12OiqFDr+MTwr/GbiHfb9R6AH0bchQRD01QNidcZtA pw1A+ePunmNaY9sylqwmhFcBhuGwRia3OKIs0wX3vCrd2o+5NoeNllKQb1L4101WtxoZ KNik1M1ySQgrdJP3XGOgS9U3EY6LWxfkTThG8EQ0blAbHkXvgS+gkAIvq29N8DXxrL5m C2q3yv8P/r3R4aIQOYVyAvMPeNaeeb0BdriIC+OcOMScAr76WrFwuK4b3P3znbNaUIMI o6OCGKjwCqN82S4Onchla/NPU+df3oLsgF/1ynxAqr58HoiovFwvEFp90AWbzNIQbpZk Rplw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RXtwgXo0; 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-192811-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192811-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c788b8dsi80832605ad.20.2024.05.28.10.47.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 10:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192811-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RXtwgXo0; 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-192811-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192811-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 10DAD287A1F for ; Tue, 28 May 2024 17:36:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A62E219FF; Tue, 28 May 2024 17:36:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="RXtwgXo0" 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 1F7192563 for ; Tue, 28 May 2024 17:36:44 +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=1716917806; cv=none; b=iH/EcYJ1afTjgLi1G05ObTnRZi1GLhIJ2fRel5TcBpkJ0f1o4E9CFo78Hz4d8uA0EDi6+uEkm1xfDBgcKQWJ0isoLih0C5wSGIVnzf2d0fW/ytJfNVoRVVc/890719/Q3mdouY3LBRJtcGfuV8sCZWmU1kgS/SOsngHaVy5GmaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716917806; c=relaxed/simple; bh=x+oFhT456iz1kq+KKraI1EWhEpJSq79E6q3/zHTQJmI=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=UMR4l3UtWoclI/fIpfemeXjMKSGNMI2tjFA7Ck3Elb6w2RWSyyZUbs2A4rzatBnnbyU8YkJyFLXqOb0zN+MPNSFtJYzKEDYdAvxuZzuFPpYFT0lziBULEEGkvqd0fXdLaf2bGpM57TJeRe20TymX9+ppoibe+S75GvFeKQE7I1I= 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=RXtwgXo0; 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44SAfsCH006752; Tue, 28 May 2024 17:36:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= oXVyVl2a5aDHRU+CCBAA0GXXBqDn6MOFdRg8YLMIyOA=; b=RXtwgXo064HX37dQ QNYL2XTA8QUOIUPe0FwBVb5fpGhal91QtUl2GMCEodXB/O2o8Y96/mRchA5N4L7Z RMn4bdwkK9dUWS4kgycu6qJazmNlxUld7HTugHriS/Qu7tXs6UcudE45JWbYifUX 5h90KM+8GEyxAlTjL0Oyg0ha22YTwWAj+u7ESYRc0erPRRPWXny4QY23UdUyIM6R I4VeZh/fAun/qsBbCSl2FaJ6LAaQOlCGYyr9U80wsla7FXs1illjm2hVA32LTefI doeUYk9bkBjEoVyQa8eZlJoC/vz/E2saA0eMkKoww4UmtxF4mEdM0keO8lL0+npL 5g2Glg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yba0x6sc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 May 2024 17:36:23 +0000 (GMT) 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 44SHaLnH024183 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 May 2024 17:36:21 GMT Received: from [10.71.108.229] (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.1544.9; Tue, 28 May 2024 10:36:21 -0700 Message-ID: Date: Tue, 28 May 2024 10:36:20 -0700 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 RESEND 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel Content-Language: en-US To: Gerald Loacker , Neil Armstrong , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter CC: , References: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-0-f8351d4a8d4b@wolfvision.net> <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-1-f8351d4a8d4b@wolfvision.net> From: Jessica Zhang In-Reply-To: <20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v1-1-f8351d4a8d4b@wolfvision.net> 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: A01wDB9_wDa67KHTNj2WjqJtDFfiRPe6 X-Proofpoint-ORIG-GUID: A01wDB9_wDa67KHTNj2WjqJtDFfiRPe6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-28_12,2024-05-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1011 bulkscore=0 phishscore=0 malwarescore=0 mlxscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405280131 On 5/28/2024 1:32 AM, Gerald Loacker wrote: > Flickering was observed when using partial mode. Moving the vsync to the > same position as used by the default sitronix-st7789v timing resolves this > issue. > > Signed-off-by: Gerald Loacker Hi Gerald, Just wondering, are these new timing values taken from the panel specs? If the timing in the original patch was wrong, maybe we need a fixes tag. Acked-by: Jessica Zhang Thanks, Jessica Zhang > --- > drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > index 88e80fe98112..32e5c0348038 100644 > --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > @@ -286,9 +286,9 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { > .hsync_end = 240 + 28 + 10, > .htotal = 240 + 28 + 10 + 10, > .vdisplay = 280, > - .vsync_start = 280 + 8, > - .vsync_end = 280 + 8 + 4, > - .vtotal = 280 + 8 + 4 + 4, > + .vsync_start = 280 + 48, > + .vsync_end = 280 + 48 + 4, > + .vtotal = 280 + 48 + 4 + 4, > .width_mm = 43, > .height_mm = 37, > .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, > > -- > 2.37.2 >