Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2507118lqb; Tue, 28 May 2024 01:51:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhXCBZBr6CppO7ZPlIOQNRPp8fVdR1PcUc6cS2/3AYEEJkT2YeVljqWUJXv6rE7qlDQeJadOBP0G5ArzYP230Rbmm2toNcITX+Vx30qQ== X-Google-Smtp-Source: AGHT+IFUGtlkhH3nxJTYQ1/vHLRJ9EVpT6lPO12IWBEZ4+fs9SwAfQg+CDfpYD/EOzUd1i3kn9EV X-Received: by 2002:a50:9e84:0:b0:578:635d:67bc with SMTP id 4fb4d7f45d1cf-578635d6959mr6903411a12.3.1716886280636; Tue, 28 May 2024 01:51:20 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5786456d3c4si4098854a12.271.2024.05.28.01.51.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 01:51:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191962-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=jagiKPpz; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-191962-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net 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 3AB4C1F23FE4 for ; Tue, 28 May 2024 08:51:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A163613D297; Tue, 28 May 2024 08:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="jagiKPpz" Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2119.outbound.protection.outlook.com [40.107.7.119]) (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 A9B9F17E8FC for ; Tue, 28 May 2024 08:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.119 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716886258; cv=fail; b=EhtDi0f1Jh8HWOoKc3GPk0c2s1E21u2g6zB2EvHZ2DO4GWk5gTR2EcwMSDsRD00SA8kNonSGTUSqIBpVH1mXLpjAvbIzK8Lcx6fr8zY1l4ueh9C/nIE8QTCulrR6dxgzXOw3u5mF2K56Hbren1j/Y4y0ztk9KPcgmSw7ygeJ0AM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716886258; c=relaxed/simple; bh=PbNiiaO5Eanmiq0PvtEFyjLqC+3E6aAmWvlKkHE5Jek=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=TKmywMdZwXdVUll3nGqRbBUevbXTwJONdLRcjiM58C9s1FdWAGd1V4TnCW0ccRw0racYaEyXtF+6wS4xpptv3K4DqZ1dQhiRn4oTX8oQys+yuaGIt5fVrWR2y/AUC6MO6R64bh+Y3ZP38BF70JdIg15F8KjD1YsUJdz3SeWdcQA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=jagiKPpz; arc=fail smtp.client-ip=40.107.7.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F0MYR/DTGEHUNGI7KHtLLrQxYgwO92zuZzhgVODKJd3ySlAwWXfH3oU5TUuCpiimIf1Q2Xbb5I0a/mjEg/JXOwlKpsBgiye77cJWPrYSBs21gTkIO2JDyOhz90NHIdybB75uIFzhZqmBBcrobFxhiWyRcE9gfQrn926QEPJpsNxNvOrTkKZn/IHtMJBHhnefo6usjpy8sfTBmfuDgqultYg76GW8jebMed6IdCXF4O4lgTEyf7HeT4YTWTBncKPZilDbL8t7vPSU1ptwHGqlqRumJxQaKWuzFt/MCKbz18mqAT9JLzBUUih4eKymOi/04aQ8T87oEdDiPoE8B/L1zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qI+kH/IftyhFbLymgeeh1N3ClCxUMYdDosdpgRQllo8=; b=cOmMgAC0ZuObWUHelWZWcyHjPC5Bls7c9cfCR3JxbBOsERLNAV0PYFHhsg46kkU1R4P0Ej385bZEg2LFaceFso/HXalWtP47ZWMGFPzahau201qHErlA3q8h27OZY80yrPvlFhfMaqGhRy1RmDlqlWw7e3g0VeBOTRZGDTeIzH9B0Ha8B8x2mzC8d5YFgCEukQZs6VlHfnodEMAq9e05d8XcvSqOVeXRqeKFiXVdPGA+CgORNUTvZPE2LE14VugzyCndROnEWdF687rROsadxrQKuHjhxXjLWCQDWFCYZ90mmDueNxb9WG6dmpY8RTjjTG5OFEvTgcgYu0OUF3Ihig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qI+kH/IftyhFbLymgeeh1N3ClCxUMYdDosdpgRQllo8=; b=jagiKPpzBiUmsjn2Kle3xxCryjUDVw6Qo7EcqTjiGk/ExjuZDuKbYaY+DpOpnurPRAAKA7GGkIm8YzY+WJSqJScxOnVH4OXWh7+sZUhPV5jyK/FH6s09lS3C/dPuzskPo/x8G8Mm9M4PCGhkkgvYDHuNbUoY73DkXQGiAhmtt/c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by PAWPR08MB11068.eurprd08.prod.outlook.com (2603:10a6:102:471::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Tue, 28 May 2024 08:50:51 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4e72:c5d4:488e:f16d]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4e72:c5d4:488e:f16d%7]) with mapi id 15.20.7587.030; Tue, 28 May 2024 08:50:51 +0000 Message-ID: Date: Tue, 28 May 2024 10:50:48 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/panel: sitronix-st7789v: Add check for of_drm_get_panel_orientation To: Chen Ni , neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, sre@kernel.org Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20240528030832.2529471-1-nichen@iscas.ac.cn> Content-Language: en-US From: Michael Riesch Organization: WolfVision GmbH In-Reply-To: <20240528030832.2529471-1-nichen@iscas.ac.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::20) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|PAWPR08MB11068:EE_ X-MS-Office365-Filtering-Correlation-Id: f715cb35-6a7c-4328-b551-08dc7ef3470c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|7416005|1800799015|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dDAwaENlWTZwbk5OTVpSOFUyRGVtYlRNaEx4TVN3NzZZU1BqNUROUnpiakpx?= =?utf-8?B?TTVjSHZMamVPblhKc2htZFpzbFo0WE9vQmhBWWhpY3J3ZUg4ajd5RDVvendl?= =?utf-8?B?VU5yWlBycDhpSStEKzNKY2ltMkN1enJtZGFuRzFkdjhJVDV0ci9uVEJORUdM?= =?utf-8?B?YW9vWE81SW9RQjJwRHFtMStpbVd5bFIwelE4T25iOFZHRk1yVCthRFhLN0xT?= =?utf-8?B?QmNZZldSYzYyZXlna0RrRXJ3VkZvUC9UdDU0L3F5MmdkNVRaeHp4M0ZrRG5I?= =?utf-8?B?UzN3SGxrZkxyRHJjMnAvaG5Uam9XZTYvdHYvTm1oS3l0M3FoU1djM2F4cXQ0?= =?utf-8?B?MkpYaXRsZFlEWTFmb21JRHgwWDlOcXU2aXM1MWN1T1lvN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zE3cnRpMWtCWVkxdUM5UTE4S0lHMWFxMGhIQ2lldmFI?= =?utf-8?B?MytoNm1OVGNZaGIzZHQrc2J1TDlMWURPaVc0enQ3dDRhZDA3N2FvU1RlZzFp?= =?utf-8?B?MU5IVGZxOVl4NkhHWXJTNjRiTnZiNUxmV3k3eC83NkZ6bFFES25vUjI5S3Q2?= =?utf-8?B?NHZ6L0QrNWJ0cjFtZzRvQjM4M2YrczhyenEwTThaUk05S2w2WmtuMVVZRVgy?= =?utf-8?B?SGN5UXAwQzdKMkpGUmdVd2pwRGdXSUdhY0s5alFhUW5MdUxCRjVQZFM3TDFI?= =?utf-8?B?TXZjaHl2ajNQYVB4ZlFWSXRIT0lFb3pZMVhRZTY0cVhrR0hEbXBtT20xd0Jw?= =?utf-8?B?dUdHSGZ2cyt1UHBNLzF5dEM3djJJTjN6M2Q5RzVMOUlXNDFLYkhPQ0NzTEFX?= =?utf-8?B?N0VSSFgzQ0Z5UG9aSzFrQndGYmJ1MVVLNk85R3E3S09LUGNWL1pZbm1iZnlE?= =?utf-8?Q?ttSBhXfyr4oWmIq0GD1aXwhz6wokGSVmZrjUPaN?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(7416005)(1800799015)(921011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dFo3cGlhejJBaWVQSVZDalEyd0hBOTFXSytCL2wwT3UvZ3phT3hUTUh6WmZm?= =?utf-8?B?MDllQTA1V1VDZkFNT1dLN202MmxoUDIxQUh2cnFoRUVxZktYUmV0UmVPNkhy?= =?utf-8?B?eUJValRwLzJwL3d5Y29ySGZZZnFVcFl1bU9DUVkweERZUGp0am50Q05WYWox?= =?utf-8?B?Z2xwM052T0k4cVdud1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FrRXA5b3Z3?= =?utf-8?B?Mktad0RXVVI4U1Y3THE2L2FPNnlwNm5GWjBiWnJKTVozTDRaZFErY1d5S1JZ?= =?utf-8?B?NUJUbjNNV2JhaVJITWNJSWQxc1huOHM1R05TZXMwTHZmdVdKUGREMFZxeWZr?= =?utf-8?B?NGd2dngwUW16OW9qOHNERjloZkVyejQ3amsvN0tTaEpCbm1sY2ZqSW5RVGlk?= =?utf-8?B?V0E9PQ==?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f715cb35-6a7c-4328-b551-08dc7ef3470c X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 08:50:51.5322 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nFByHJZDeoZ/fhkwTurE92xFAuswmMOjNBqKSy+PLB8uTs3X6+VwAaBF88QAj/5dh22ZSLphEcCQpLp4hBVAsnHbfSuNXYWcuSaLPiFGKoY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB11068 Hi Chen Ni, On 5/28/24 05:08, Chen Ni wrote: > Add check for the return value of of_drm_get_panel_orientation() and > return the error if it fails in order to catch the error. > > Fixes: b27c0f6d208d ("drm/panel: sitronix-st7789v: add panel orientation support") > Signed-off-by: Chen Ni > --- > drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > index 88e80fe98112..8b15e225bf37 100644 > --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c > @@ -643,7 +643,9 @@ static int st7789v_probe(struct spi_device *spi) > if (ret) > return dev_err_probe(dev, ret, "Failed to get backlight\n"); > > - of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation); > + ret = of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation); > + if (ret) > + return dev_err_probe(&spi->dev, ret, "Failed to get orientation\n"); > > drm_panel_add(&ctx->panel); I was worried that this effectively makes "rotation" a required property (although it is not marked required in the bindings documentation) but it turns out that of_drm_get_panel_orientation handles a missing "rotation" property gracefully. Also, all other panel drivers I checked handle the of_drm_get_panel_orientation call as you suggested. Nice to see this becoming aligned. Reviewed-by: Michael Riesch Thanks and best regards, Michael