Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp40146lqd; Tue, 23 Apr 2024 13:56:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmr5N8K57l9hLQp5xJ1ti8kv1oZ5GI38rmFkv9qZOdYfwzGF59AAOBuPzalhTXqmQYBR5aQ5uNewoM9rgfQj6HOEjScZwAQMY8TFECRg== X-Google-Smtp-Source: AGHT+IHHWEeqFvgEAafzySLnEjQadmbLMmAKAGHcAZKB9hD0qPUgWR2WL5brIHJ8aM0XKi4gyfKr X-Received: by 2002:a2e:a713:0:b0:2da:bb52:48db with SMTP id s19-20020a2ea713000000b002dabb5248dbmr251112lje.28.1713905792760; Tue, 23 Apr 2024 13:56:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713905792; cv=pass; d=google.com; s=arc-20160816; b=XFVe0jqMEIJehykhxf2mnfarqqbhsolBLvQ12SyjMI2juGiiQkqgMWRFXn5c7jVpJe qDfq77w0v5Ks2cxoj+iEQk4XOo3s/jm0dqtqyFFMuYqcmhmM7VrFxSz74X4PHJegnAr7 WY/c7UB1EvPRDNvoywO/JxQCoWVmSi92jdIyRFtUqAXE+DP6aS2MY+hWV0uy+G97mhgw IcW4WPqS/mWzgJb8HAt/aEWQe9XA3PngUI3/PqT2MFX+y1HnqZSfnrXdDbU1Ef6bdbS4 ydF9k58aWngDm6x0CyEiORkrlG/huOjQ0xVaqGE5vMD4Q4/Oh+otozgXGsQLpCabqfhB /mig== 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=TbfLpkC6sUOo8U9culftXF70TNu8J3c2HXxMlG6vGno=; fh=NEr3Fqz26MWRCZBb/KlvuvDkJVN/YUmhfDav/hfk2Ho=; b=wxJbyVAjDkf34saFdwQWvhsbvYpjcnBWEqf07pJRKFaM7b+vb6jF2JaJ2cIEG+r6Bt CcwAfLXXLYf4eCWxUIbToQJqn6JaoioArXXyooRfCXRAEsaKAcob7LR2ujQREnNR1CWF IaPKI8dbK5R8zNt/vLDgaXQKsgg8vaAEeWRp2F1u1TDj8KO5EuDnT8T9baZIPe5A0oSI lSsHpdFWeM5ZeO/jNbNgJF2fw7GMIHN2Zy69soMLG9cNHVtmJW0O/H+8RCeayHsiHKTf Ynx0eVUmtbUTtGQYA7aoVQ42XYyCemQaxnfMmF/7xW30B/yuPR2qVkr0Q33hRxmOnZ9B 9O8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WvlDeNCh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-155894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u28-20020a50c05c000000b0056ffbf9b979si7617148edd.446.2024.04.23.13.56.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155894-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=@gmail.com header.s=20230601 header.b=WvlDeNCh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-155894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 77BF51F2101B for ; Tue, 23 Apr 2024 20:56:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEBCC142E8A; Tue, 23 Apr 2024 20:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WvlDeNCh" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 9CFA4433A0 for ; Tue, 23 Apr 2024 20:55:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905722; cv=none; b=Ugu+xsIdk/yfJM2fAjqYf9fSZSeOZty+VTIqPAO4WTK7bSDXEmcpYNMv++DR9XKycgezW7jDEvP+Dq64ZCZjPUary2b1fHi+tA/IJYfVP3AgbvmJ58zm4qsgug00u730E/rV1pafz4/zCnS7F4o4bHEOOTIqLARscFyFdnUE7WU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905722; c=relaxed/simple; bh=mVvpig0aivu5S+vnjfpsPBNuUpemb5I45RMuMnz2xCQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Q+BpRCktPqkLgi48y350kTmPz73uVvIoyH1T5ziwtCTAc5uL867E/MeT/b2uQeftaat0hftH8TcBtuFSBVObFzQomgFeIjLxc4+kP588+aDiuFYtYsROg6EqyDtMYTUNKC+DVM5BpBrV87nxzUS0+A4JRmPm+kp8q/u1aKqzXHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WvlDeNCh; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-41ae95468efso3184065e9.2 for ; Tue, 23 Apr 2024 13:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713905719; x=1714510519; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=TbfLpkC6sUOo8U9culftXF70TNu8J3c2HXxMlG6vGno=; b=WvlDeNChPG/MnCKUyEBuasPw+WpLgzmdKGhHPXfOADW7KUr3eCnCGtRzzqlSOd+SMp +SZSzyxKO/v0ynS1vR0O7u9zXc6AeS7BJIgsiREgWS1Jaao+/TL9IDr5EZXnbvkA6Yte GFr4qAxYL8RNrchjF5hpvyVXVLe732JAYwutjzZVwEkl3m8j6d89t1GrIe3D/oTRFHQa tPOz3pav7JeWnFgd+lw9UYzdGuP91FBIKQmT07Y3fxuqPKDA618dnoaZjumfmoVKs8H0 5+euP9WvhMQcJDVHJyOzEiEz6IifCw0lixlYzlpV64dwlQoDcuOxf7/ho5gbU2s2fglE HV0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713905719; x=1714510519; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TbfLpkC6sUOo8U9culftXF70TNu8J3c2HXxMlG6vGno=; b=YDhc3Vt1I32wC1DRiiG+4Drmg2Fllh1Pkautj1mYm9j/Tyy5O5P4bR5VgQ/mEJDEup 6YRlmLa4PTSMAjW9A/rEarE/YQxovbEdWEJw5RmSNGZIcwA2jWEYp55Q5Y5AGEaZ1Zt4 HPhPGjYZfe86lSyyT4kVqwV1o9mUINuzUpNyV5YyL1KEhcwluoQuOVJziuh9MLWVGiEr wFJ74W0ROk0Vl28sjEEEcRCF67naXsoZ11mAoVZ/B9/1lG6aY0riyz7P/TGwgg7Ql93l yHJ8Laast3cVYML3LSRGZ1jxTG/w+DKpf2HYEYuH5/K/SDqzclohc6E4+L9L3gn1EFeI rJHA== X-Forwarded-Encrypted: i=1; AJvYcCVMMSrNdUjYQqQaJ1JeJLdbY/i+DKK2EIFqKzJ5A/KAJDcvH23nbGi84i4o+zJPWe9vuxdbn1KAumM3/SJaM7nus0sEcc/dnZ1sEfAm X-Gm-Message-State: AOJu0Yw+szSnbhzUegQhol/vpjpU/03CvmEgkXbjX2EaEShNbHvpU6i0 mdYDHOwHZl+MQKEaJe8Sg907PGq1NOamgrG+mO1O5ttN5y6d0qBvira4PetF X-Received: by 2002:a05:600c:4ec9:b0:41a:bf5d:c30a with SMTP id g9-20020a05600c4ec900b0041abf5dc30amr441241wmq.18.1713905718653; Tue, 23 Apr 2024 13:55:18 -0700 (PDT) Received: from [192.168.1.130] (BC249051.unconfigured.pool.telekom.hu. [188.36.144.81]) by smtp.gmail.com with ESMTPSA id fc9-20020a05600c524900b0041ac5f19213sm2960332wmb.8.2024.04.23.13.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:55:18 -0700 (PDT) From: =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= Date: Tue, 23 Apr 2024 22:54:33 +0200 Subject: [PATCH] drm/panel: jdi-fhd-r63452: make use of prepare_prev_first 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: 8bit Message-Id: <20240423-jdi-fix-v1-1-808970662b40@gmail.com> X-B4-Tracking: v=1; b=H4sIAAggKGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDEyNj3ayUTN20zApdSwuzRHNLs0RjQwNDJaDqgqJUoDDYpOjY2loAgWt gkFkAAAA= To: Neil Armstrong , 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, =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= X-Mailer: b4 0.13.0 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, -- Barnabás Czémán