Received: by 2002:a05:7208:1509:b0:82:bbfa:f723 with SMTP id o9csp217060rbf; Tue, 23 Apr 2024 23:51:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWo6jqpaoGggWObvRVhbO/hHthGS0ci7Kl5pllXGrvLDpibEM2pL5rDHNdXcSeRthLxIOjc/0TUD45NU/ovPGXryE5Jom6VFyuolboWg== X-Google-Smtp-Source: AGHT+IH9SxxKpAaeMfMxIY9L39oYCZdPxirmKGpW/aydtipzJl8pULKsNDb8E3ARRnIYZ7o7nxcX X-Received: by 2002:a17:902:da8a:b0:1ea:657f:318f with SMTP id j10-20020a170902da8a00b001ea657f318fmr1616072plx.0.1713941489486; Tue, 23 Apr 2024 23:51:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713941489; cv=pass; d=google.com; s=arc-20160816; b=Z0tul859WDmoe+vSAnR9ljH0QIdAdeyqkJ7tbiN7o9amMs1eLIYO4xVyQYN8tMNSfc b7gXjT9w1SLA3P7IvP2FJWOV2QKmoSzVonqH7tGecyGOodeNHg/vsIxZBA9lbo+szPYx LXR1UEypttOSsm9E7fM3Q7VV0MtR7cSiMnBcLGrAdlL8ZxlupU7GrLIapD5tGOmcMnY9 2I3POLLUiSP/I2mMiK1BbKNu61obTj1DQNjaIqTa64Bfx4zlS1AyFvw/EsoQ3ezLC2s5 usdugzImvMAEzoc2//XbHJlqjfZdx3h3rCdoQltYP/tiJI9GeNciqEC1aXwJ9fgO5TpW PmUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=5fhRPEnVPqfUJjDOhDV7MC9ZHHIfbOjexEAXqhIdO3Y=; fh=KYZwJ8D0axYc90gtUW+cQC2zlilSUcNbASIoQbhs+CQ=; b=YEZWY3DKPdr28K5wjcoV+GqIW4K6jWHJYPPsANwGybb2eIH8d3eoUjzvN4oM09dKiA J00hfA+b4wq/zhxGSkvr+sC0xlusfMZqV+7SnpD0ZkqH/W8cTXH08hniFX5R/NoOZCEL OJX2G/n+FZqmtSG4mIF5ioiz1WC6SDPTuPUvpSpWc2ArxofhuCI7zj6qq5kNf6N/96fg AsMinJbA7DGiQVusQdYnQLLUCRhdHZQ31gkEgrfGpNPh4wvgpsAIX/PKYrHt/a2Ii9dn fnDEcOsBDcImsJbYkBpQcgOCfYGuTfusT90FozzgWTXM1lOTRxYS0HiZRxDXGa7xS663 xb8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eW05LZYc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-156407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y23-20020a17090264d700b001e8c155b9f6si8916948pli.160.2024.04.23.23.51.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 23:51:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156407-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=@linaro.org header.s=google header.b=eW05LZYc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-156407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 7AFFC283DC5 for ; Wed, 24 Apr 2024 06:51:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C0DA157498; Wed, 24 Apr 2024 06:51:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eW05LZYc" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22066142E67 for ; Wed, 24 Apr 2024 06:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713941482; cv=none; b=ifeoi247F3JgHXjzVgpbsLp0Hw7j3+qrakJ6lfoprhUDbMjs2lvzWQWjlpkdAuUsLTjS3zVTslMTYwqaQ0DrpztWwqmMPvwta6V0KfLDCwReYzJ29gx/6FGWwS1Qke9YM/BGp32gX2hEROwhzx0jaFZPwSwEpw3iBZBfzjfPkNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713941482; c=relaxed/simple; bh=e0psFuTSMLyPViM4HdYZqYy5nRfKxWhGIfCp/5rtrcs=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=rEui5PDa34pgUSWr93VNOgcpeSO91XAJi80UV/bIgLKH5c0a01WXOdRo2jUy+JpZTpugdNdGog/t7UTYzsRRgUVa/xIdXZV+TTomMemb7gOZXHCFpyVcjryaEXtFEXoc/+c3FluUcrInivaFFkTwvy9URTQOg5ukjKxX3722YIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eW05LZYc; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-34665dd7744so4965823f8f.1 for ; Tue, 23 Apr 2024 23:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713941479; x=1714546279; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=5fhRPEnVPqfUJjDOhDV7MC9ZHHIfbOjexEAXqhIdO3Y=; b=eW05LZYcNtldcXAVRqLPSOCj/850J1s4xwxUt2idddY7m04LOtZ5yCm8/au09rICYU 1x0oleFgNAg3145JQuSbAruFtqtUSYzWfBvtCHRVP3DWYf8F+BzK6Ldcqgt08nwY7TWV 4L+D4QI0FTHve2z3YN1aTf4DbalzcW0NC1v8gZAcJneeaKvrPHDV9B60JERXdgSyM0Yr kgs+GAbpwjmv7gGbqZ3vJlUMImY7kjIJnQ0EKeFpmh4R7PC5CfJR8mcYwcZWxib7dAl0 w8fanhMgYOOn7GYxyxBbOpJtTXWv0YMRhtZAeNlUWJA+g2E1rasVRK2+02FGl+67fGCR 5Qeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713941479; x=1714546279; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=5fhRPEnVPqfUJjDOhDV7MC9ZHHIfbOjexEAXqhIdO3Y=; b=cLLY3vFLq8A0l6OTw1UFz8HOXceXnO1F473HKCvXHanXwRqDnu0uMpEG3DhlLvynwQ ktNpgPh/mfx5Ilb4j9qj4MC8Duv9GimqNNJyyXbkMaJZ8sR1Hx+Ft7GCQ9yPtNme/mjo fa8Fx4XTkFBqc0mAwrsbSIjyyrXg5bClnkiTI4f1I+LTW5uvkILZfmENwVRf9EgKooVl r1aK21xM0bfTNC6TWGcCoSAksWjjSLdJ6QovPZMtHndN84d2IrZAFzKclWxwOvPKp1R7 8AQLhSY30eGj+IgrfSl/0VM1NI3sa7/+iyl5Qg6D5KEv4ldgp3IliM9a0CT4v0v1IyFu fu6Q== X-Forwarded-Encrypted: i=1; AJvYcCUTSieTwYxYRksrxHdQf2/VfwuqBEO7V4a9tbeJcL5YuClmzJWjId2/HZjbMLv6IPnyeTf56jiF9s6APJL8JhFsHiZUlkRt2o/Vg5zX X-Gm-Message-State: AOJu0YyGIk8Z+KN44iKfvH+QJY3IyR8dj5mLL80oVZBd4MH8YvXphqa7 nYZZ8Ozu/xG0Mh/2M8s83vfjSVBhIuCAtw+ytKFRBc5baDls/BOrcNFMEOy5Bxg= X-Received: by 2002:a5d:5243:0:b0:343:ba58:97c4 with SMTP id k3-20020a5d5243000000b00343ba5897c4mr800456wrc.10.1713941479305; Tue, 23 Apr 2024 23:51:19 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:ed3e:c90b:dd74:51a7? ([2a01:e0a:982:cbb0:ed3e:c90b:dd74:51a7]) by smtp.gmail.com with ESMTPSA id cs18-20020a056000089200b003437799a373sm16429555wrb.83.2024.04.23.23.51.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 23:51:18 -0700 (PDT) Message-ID: Date: Wed, 24 Apr 2024 08:51:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH] drm/panel: jdi-fhd-r63452: make use of prepare_prev_first To: =?UTF-8?B?QmFybmFiw6FzIEN6w6ltw6Fu?= , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, y.oudjana@protonmail.com References: <20240423-jdi-fix-v1-1-808970662b40@gmail.com> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW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Linaro In-Reply-To: <20240423-jdi-fix-v1-1-808970662b40@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 23/04/2024 22:54, Barnabás Czémán wrote: > 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: Barnabás Czémán > --- > drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c b/drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c > index 3e0a8e0d58a0..483dc88d16d8 100644 > --- a/drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c > +++ b/drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c > @@ -247,6 +247,7 @@ static int jdi_fhd_r63452_probe(struct mipi_dsi_device *dsi) > > drm_panel_init(&ctx->panel, dev, &jdi_fhd_r63452_panel_funcs, > DRM_MODE_CONNECTOR_DSI); > + ctx->panel.prepare_prev_first = true; > > ret = drm_panel_of_backlight(&ctx->panel); > if (ret) > > --- > base-commit: a59668a9397e7245b26e9be85d23f242ff757ae8 > change-id: 20240423-jdi-fix-986a796a3101 > > Best regards, Reviewed-by: Neil Armstrong