Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1309233lqm; Thu, 2 May 2024 10:39:15 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX1jcib7HQzWCrGinD63HjNNcK/G5k/xxMXjs1CoZnijUK+b2orPwj8UFacgv2QnMDQ3qn7ztwIKX9Ma4llb22KFXlXGph/72OFrZN+XA== X-Google-Smtp-Source: AGHT+IGj5RvrCurKLXf0RHnA2F8EPRqHiqJIZbAySA/S55CoTWactYa7TnjsXYraIwyoSqDhDHJ9 X-Received: by 2002:a17:90a:a895:b0:2b2:9744:5c70 with SMTP id h21-20020a17090aa89500b002b297445c70mr5027017pjq.13.1714671555623; Thu, 02 May 2024 10:39:15 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t12-20020a17090ae50c00b002aeae8eda5csi3877060pjy.135.2024.05.02.10.39.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 10:39:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166788-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=neutral (body hash did not verify) header.i=@linux.dev header.s=key1 header.b=TY+1eBHJ; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-166788-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 401C428BBAD for ; Thu, 2 May 2024 17:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4978116FF47; Thu, 2 May 2024 17:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="TY+1eBHJ" Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 8E79B16FF39 for ; Thu, 2 May 2024 17:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670919; cv=none; b=rqx5MpjXNnuqqC/JwmHSJKatYbcSN77MWMtkeDBjSGaXDMRg3UAmgVPwQpuYe2BJjf8etyyaOjaOe84cGoHVOk/1xfOq9xHusRvo5/hkteHc1AHi6hfqqnjeaaC72/ScADBQNF/VPLUfdHD0vNacMH7v4UJvZIdglL63ovezVMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670919; c=relaxed/simple; bh=JeyIzra834kL04Fwq8oEWCsEM8ID05t+DKwAq1EhS2k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fbi5/QVmZdeFqVQfpZRBbsHJFvDg2sj1Ki0EyanxD1cKCBQLzJg3S+NfyBwiVQE4AleKnv+7QUdy6LTBzsCO7BhVvoTpkGGwDJYPZt+bFD+wUrZDw2gKZJULtwThzZgcePSmYbp4blLb6fW1wbtagBg869nk4mRSMA7B0alo5lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=TY+1eBHJ; arc=none smtp.client-ip=91.218.175.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: <1509ec3a-be84-42b0-a704-51c10482f406@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714670915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/FwuBkMV1cz8K2OmSfCwl9zAuP6IPiKH3Gc8CY+nxQ0=; b=TY+1eBHJkEXh56ZoCWlox1HoT5FhPyibcX4FI3MzR74YRIO3GcOO00t1dB392XcrY+WRYa wk2y23ajiPmJoUFpky4rHqONw9IcNsHeNxVm/4uSsWJxi3zPBfE62WXfC70usU0CFUw96c hgNBa0j6JRJx8itTBOT2wzsJy706u2Q= Date: Fri, 3 May 2024 01:28:26 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [v1,1/3] drm/panel: ili9341: Correct use of device property APIs To: neil.armstrong@linaro.org, Maxime Ripard Cc: Andy Shevchenko , Randy Dunlap , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter References: <20240425142706.2440113-2-andriy.shevchenko@linux.intel.com> <2599705c-0a64-4742-b1d7-330e9fde6e7a@linux.dev> <20240426-married-augmented-mantis-ff7edd@penduick> <509b3822-dcf6-45eb-9516-ba8ff2cc4382@linux.dev> <20240429-bouncy-attentive-vole-9964f1@houat> <795bec5d-c7ba-4fc2-9be9-78c4063743d9@linux.dev> <20240430-unnatural-steel-spaniel-dbacef@houat> <75a89efb-f653-4185-a451-ef496dffd804@linaro.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: <75a89efb-f653-4185-a451-ef496dffd804@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Hi, On 2024/5/2 15:34, Neil Armstrong wrote: > On 30/04/2024 11:34, Maxime Ripard wrote: >> On Tue, Apr 30, 2024 at 12:54:39AM +0800, Sui Jingfeng wrote: >>> On 2024/4/29 19:55, Maxime Ripard wrote: >>>> On Sat, Apr 27, 2024 at 01:57:46PM +0800, Sui Jingfeng wrote: >>>>> On 2024/4/26 14:23, Maxime Ripard wrote: >>>>>> On Fri, Apr 26, 2024 at 04:43:18AM +0800, Sui Jingfeng wrote: >>>>>>> On 2024/4/26 03:10, Andy Shevchenko wrote: >>>>>>>> On Fri, Apr 26, 2024 at 02:08:16AM +0800, Sui Jingfeng wrote: >>>>>>>>> On 2024/4/25 22:26, Andy Shevchenko wrote: >>>>>>>>>> It seems driver missed the point of proper use of device >>>>>>>>>> property APIs. >>>>>>>>>> Correct this by updating headers and calls respectively. >>>>>>>>> You are using the 'seems' here exactly saying that you are not >>>>>>>>> 100% sure. >>>>>>>>> >>>>>>>>> Please allow me to tell you the truth: This patch again has >>>>>>>>> ZERO effect. >>>>>>>>> It fix nothing. And this patch is has the risks to be wrong. >>>>>>>> Huh?! Really, stop commenting the stuff you do not understand. >>>>>>> I'm actually a professional display drivers developer at the >>>>>>> downstream >>>>>>> in the past, despite my contribution to upstream is less. But I >>>>>>> believe >>>>>>> that all panel driver developers know what I'm talking about. So >>>>>>> please >>>>>>> have take a look at my replies. >>>>>> Most of the interactions you had in this series has been uncalled >>>>>> for. >>>>>> You might be against a patch, but there's no need to go to such >>>>>> length. >>>>>> >>>>>> As far as I'm concerned, this patch is fine to me in itself, and >>>>>> I don't >>>>>> see anything that would prevent us from merging it. >>>>> No one is preventing you, as long as don't misunderstanding what >>>>> other >>>>> people's technical replies intentionally. I'm just a usual and normal >>>>> contributor, I hope the world will better than yesterday. >>>> You should seriously consider your tone when replying then. >>>> >>>>> Saying such thing to me may not proper, I guess you may want to talk >>>>> to peoples who has the push rights >>>> I think you misunderstood me. My point was that your several rants >>>> were >>>> uncalled for and aren't the kind of things we're doing here. >>>> >>>> I know very well how to get a patch merged, thanks. >>>> >>>>> just make sure it isn't a insult to the professionalism of drm bridge >>>>> community itself though. >>>> I'm not sure why you're bringing the bridge community or its >>>> professionalism. It's a panel, not a bridge, and I never doubted the >>>> professionalism of anyone. >>> >>> >>> I means that the code itself could be adopted, as newer and younger >>> programmer (like Andy) need to be encouraged to contribute. >> >> Andy has thousands of commits in Linux. He's *very* far from being a new >> contributor. >> >>> I express no obvious objections, just hints him that something else >>> probably should also be taken into consideration as well. >> >> That might be what you wanted to express, but you definitely didn't >> express it that way. >> >>> On the other hand, we probably should allow other people participate >>> in discussion so that it is sufficient discussed and ensure that it >>> won't be reverted by someone in the future for some reasons. Backing >>> to out case happens here, we may need to move things forward. >>> Therefore, >>> it definitely deserve to have a try. It is not a big deal even though >>> it gets reverted someday. >>> >>> In the end, I don't mind if you think there is nothing that could >>> prevent you from merge it, but I still suggest you have a glance at >>> peoples siting at the Cc list. I'm busy now and I have a lot of other >>> tasks to do, and may not be able to reply you emails on time. So it up >>> to you and other maintainers to decide. >>> Thank you. >> >> So far, you're the only one who reviewed those patches. I'm not sure >> what you're talking about here. > > Well I (as drm-panel maintainer) did review them positively [...] > because the patches looked perfectly correct in regards of the commit > message The point is the 'fixes' tag. Then, can I ask what's the issue it fixes? I'm asking because I see the submitting-patches.html [1] documentation told us that a fixes tag indicates that the patch fixes an issue in a previous commit. Previously, the driver only meant to be used on the DT systems, so what's issue? [1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#reviewer-s-statement-of-oversight I copy & paste the paragraph from link [1] for easier to read. See below: "A Fixes: tag indicates that the patch fixes an issue in a previous commit. It is used to make it easy to determine where a bug originated, which can help review a bug fix. This tag also assists the stable kernel team in determining which stable kernel versions should receive your fix. This is the preferred method for indicating a bug fixed by the patch." > and the patchset motivation and OK, the motivation is good, I agree and I admit. > because I trust Andy being a long time contributor with a lot of > expertise. > Does this means that you are going to merge patches from the experts without have a glance and reject or ignore novice's patches unconditionally? I'm asking because I see there still have a lot of other panel drivers use of_device_get_match_data() function to get a match, and most of them has the 'OF' guard. However, in theory, panel should be able to use on any CPU architecture if necessary. Does the remains has the similar issue? or Do we need to fixed them together? $ find . -name "*.c" -type f | xargs grep "of_device_get_match_data" /panel-ilitek-ili9882t.c:    desc = of_device_get_match_data(&dsi->dev); /panel-innolux-p079zca.c:    desc = of_device_get_match_data(&dsi->dev); /panel-simple.c:    desc = of_device_get_match_data(&pdev->dev); /panel-simple.c:    desc = of_device_get_match_data(&dsi->dev); /panel-novatek-nt39016.c:    panel->panel_info = of_device_get_match_data(dev); /panel-novatek-nt35950.c:    nt->desc = of_device_get_match_data(dev); /panel-boe-himax8279d.c:    desc = of_device_get_match_data(&dsi->dev); /panel-sitronix-st7703.c:    ctx->desc = of_device_get_match_data(dev); /panel-sony-td4353-jdi.c:    ctx->type = (uintptr_t)of_device_get_match_data(dev); /panel-samsung-sofef00.c:    ctx->mode = of_device_get_match_data(dev); /panel-synaptics-r63353.c:    panel->pdata = (struct r63353_desc *)of_device_get_match_data(dev); /panel-abt-y030xx067a.c:    priv->panel_info = of_device_get_match_data(dev); /panel-ilitek-ili9881c.c:    ctx->desc = of_device_get_match_data(&dsi->dev); /panel-newvision-nv3052c.c:    priv->panel_info = of_device_get_match_data(dev); /panel-mantix-mlaf057we51.c:    ctx->default_mode = of_device_get_match_data(dev); /panel-himax-hx8394.c:    ctx->desc = of_device_get_match_data(dev); /panel-ilitek-ili9805.c:    ctx->desc = of_device_get_match_data(&dsi->dev); /panel-boe-tv101wum-nl6.c:    desc = of_device_get_match_data(&dsi->dev); /panel-samsung-s6d7aa0.c:    ctx->desc = of_device_get_match_data(dev); /panel-novatek-nt36523.c:    pinfo->desc = of_device_get_match_data(dev); /panel-novatek-nt35510.c:    nt->conf = of_device_get_match_data(dev); /panel-newvision-nv3051d.c:    ctx->panel_info = of_device_get_match_data(dev); /panel-khadas-ts050.c:    const void *data = of_device_get_match_data(&dsi->dev); /panel-leadtek-ltk500hd1829.c:    ctx->panel_desc = of_device_get_match_data(dev); /panel-truly-nt35597.c:    ctx->config = of_device_get_match_data(dev); /panel-innolux-ej030na.c:    priv->panel_info = of_device_get_match_data(dev); /panel-magnachip-d53e6ea8966.c:    db->panel_info = of_device_get_match_data(dev); /panel-novatek-nt36672e.c:    ctx->desc = of_device_get_match_data(dev); /panel-sitronix-st7701.c:    desc = of_device_get_match_data(&dsi->dev); /panel-dsi-cm.c:    ddata->panel_data = of_device_get_match_data(dev); /panel-novatek-nt36672a.c:    desc = of_device_get_match_data(&dsi->dev); /panel-novatek-nt35560.c:    nt->conf = of_device_get_match_data(dev); /panel-ilitek-ili9341.c:    ili->conf = of_device_get_match_data(dev); /panel-jadard-jd9365da-h3.c:    desc = of_device_get_match_data(dev); /panel-leadtek-ltk050h3146w.c:    ctx->panel_desc = of_device_get_match_data(dev); /panel-ilitek-ili9322.c:    ili->conf = of_device_get_match_data(dev); /panel-samsung-s6e3ha2.c:    ctx->desc = of_device_get_match_data(dev); > Anyway since the rant is finished I'll land the patches. > It's just *comments* or *remarks*, there really no need to use the 'rant' to insult and/or devalue other peoples, as it make no sense. > Neil > >> >> Maxime > -- Best regards, Sui