Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1364265rdb; Fri, 16 Feb 2024 13:24:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW12qHyKXsxZ3lb4noky7LCzjfUpsBiSk+aCVNCeY/Ren5uXLUaflv9Hfk7mpIkb+80dYcnFBrr5XzuWVayCUJ6hNhm3C5FlB2t7ksK5A== X-Google-Smtp-Source: AGHT+IFKoJfPR2VtLz5vUve27Rh2PZzYBk92IzuNEN1JkXAjFeig1DHJcXxHx59SazTYBUw9MQF2 X-Received: by 2002:a17:903:1210:b0:1d8:debb:4125 with SMTP id l16-20020a170903121000b001d8debb4125mr7117103plh.38.1708118650150; Fri, 16 Feb 2024 13:24:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708118650; cv=pass; d=google.com; s=arc-20160816; b=AXKXVQYPz5+Hrxl+yTKnAR4+KYTHdGYGwBFNOcdwE+7qMvoRAhHHOZBK0nDis1Z/yl qfnD4vZ2HEikFwhPuXcNCdCOBYAhbn7ny2vb0d9wLUbXJEu3LR33KGO5fUI4y7tx44/j 8p3gg/j/PQbOzG6aXjSlv7AS43c1m7W8OjnQtOEJHA1+pIG2yNdACMV0d2l0V3ekIuSP oQT1bHU/3DiTuVgThxVQt3YJFXt0TwqTO8muC3+JgUOSuY/gSV4KIeWmGoWfhl2m7BhQ iXrXszksVOoNW9H+P3PuRjvZAO9nNJnKqjEoXbkvxRjVV6DN5nNBVOlltzas2c7veLYD 72eg== 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=IvpyXiAwCa/OFsRcJi0azX9ua/TEzLkdCgKl8JCgA2s=; fh=saM+eAOOFK3wsISitUl4Fez+vBBJfYIAhyUxYYjGXWQ=; b=QjHQWR/xwNga1njpLeh5wq0lNybe6WirkNveL/vt/e0Ls0gHp6VKZ/A/LzJ5q3IAfr 0/4Zh2sZ52DESMdu+S3uLqn+N7+dr9G1tULQFT7xQZItYREmncjzJFhNGN1stsJRHr1y aMgn43EhrCH+WeQwTFiruqN/pULz2CtbPRRBlLUId0gAEyr4b9LyJ3mwrZHlFcwGhoG7 CcJhzEmED/kP0xf71dAUiEsjFPqZvMwEboFXJFSSrCR7pA6lNtz0ZphUoEEvkgHjkVBR 9/2nO4rJvxj2Fg8qO6td7lZh1KiIG8THchm1qUwW2E44R5T9qU+daP7qoU6NxZLS39u/ djlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Xa+o0qyt; 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-69362-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69362-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e12-20020a170902cf4c00b001db83dc5a74si431028plg.374.2024.02.16.13.24.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 13:24:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69362-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Xa+o0qyt; 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-69362-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69362-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 6174A288051 for ; Fri, 16 Feb 2024 21:21:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EC71145B0C; Fri, 16 Feb 2024 21:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Xa+o0qyt" 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 7B6FD28E2B for ; Fri, 16 Feb 2024 21:21:38 +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=1708118500; cv=none; b=T4SbgY8u+RXCKckbMTCmZnKrTRKxJsOvz98jNnSEQC2bNxd0cqJT47riJLld7op/rlgmPnpS9eOaGYF1RtjdBw65uSkmINoD7iD+j5M/TePstKUB18jeN26yNHDL9xh/AQ87KmJLVi11YayFWLgNMdmOJceW5dmkZMQ3orsVApQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708118500; c=relaxed/simple; bh=ajIfTTJzvOem9RjpDO0sHV2Di8N5jpKs0vwWC7FTWe4=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=MKdhP2E8XeoNwY7sQYSYPFbQg7lXBWr9fLpQpr4my9erQUmSMSAH0ylCPTpHta2ANmhaP3ZuAn4zg0RiHP1n+3OXdinA3gAcy6ZnKqvv3e50q3MrnL9SqYKoaGg4QjdQj2XOuyp0g/y5QBPbrCeARAYYn6gdmgD3YPOpBEPjIF0= 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=Xa+o0qyt; 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 41GFrbVG003888; Fri, 16 Feb 2024 21:21:21 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=IvpyXiAwCa/OFsRcJi0azX9ua/TEzLkdCgKl8JCgA2s=; b=Xa +o0qytWHAn7xI8RuTspOaIW8SD6KZhDIcwgGZqXWrv5YPl90BILYc+RcMI4Sq/QK 8XQED7X/iUhshTv99q2YshDLLsWAIbTQ5HXpUJKybpdD49mZ2788QxwqG6TFgD9b Ah0I58lCDbO/RjEa/0qUn2lYtCcVEcFl8vWJ/iQIY3pqaaDTD3W9gObbEKdD0GOR CKWXMpke7Rnt9WOBWztupcN3V9pMSYwNgG4UJ6i51MQn5W/eupQliZI7nHxIpbDE iBo/qe4YLGwoDlAk8P7M+WaOoyQPzSi08aWIG+mQzWPyqDuVO+pXBor9PYyyoQsj 7Ac5VAah/tSYND2LtFiw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wa3bh1kkt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Feb 2024 21:21:20 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41GLLJ9Y020308 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Feb 2024 21:21:19 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; Fri, 16 Feb 2024 13:21:19 -0800 Message-ID: <9a3a51f8-e772-4e54-a9be-5801ff6edf7a@quicinc.com> Date: Fri, 16 Feb 2024 13:21:18 -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: boe-tv101wum-nl6: make use of prepare_prev_first Content-Language: en-US To: Douglas Anderson , CC: Stephen Boyd , Abhinav Kumar , Daniel Vetter , David Airlie , Dmitry Baryshkov , "Maarten Lankhorst" , Maxime Ripard , Neil Armstrong , "Sam Ravnborg" , Thomas Zimmermann , References: <20240216123111.1.I71c103720909790e1ec5a3f5bd96b18ab7b596fa@changeid> From: Jessica Zhang In-Reply-To: <20240216123111.1.I71c103720909790e1ec5a3f5bd96b18ab7b596fa@changeid> 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: CF0aSLU5Gwi1AMhVrXMFJ11UtAo1Hh7j X-Proofpoint-ORIG-GUID: CF0aSLU5Gwi1AMhVrXMFJ11UtAo1Hh7j 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-16_20,2024-02-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 mlxscore=0 bulkscore=0 clxscore=1011 adultscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=999 phishscore=0 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402160167 On 2/16/2024 12:31 PM, Douglas Anderson wrote: > The panel on sc7180-trogdor-wormdingler and > sc7180-trogdor-quackingstick hasn't been coming up since commit > 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts > at modeset"). Let's add "prepare_prev_first" as has been done for many > other DSI panels. > > Fixes: 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset") > Signed-off-by: Douglas Anderson Hi Doug, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang > --- > This of course gets into debates about getting a nicer solution that > doesn't involve adding "prepare_prev_first" to every DSI panel out > there, maybe building on Dmitry's work [1]. While it would be nice if > we could get there, getting this landed is easy to backport to stable > trees and gets the panel working again. > > [1] https://lore.kernel.org/r/20231016165355.1327217-4-dmitry.baryshkov@linaro.org > > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > index c4c0f08e9202..bc08814954f9 100644 > --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > @@ -1871,6 +1871,8 @@ static int boe_panel_add(struct boe_panel *boe) > > gpiod_set_value(boe->enable_gpio, 0); > > + boe->base.prepare_prev_first = true; > + > drm_panel_init(&boe->base, dev, &boe_panel_funcs, > DRM_MODE_CONNECTOR_DSI); > err = of_drm_get_panel_orientation(dev->of_node, &boe->orientation); > -- > 2.44.0.rc0.258.g7320e95886-goog >