Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10995758rwl; Mon, 2 Jan 2023 11:49:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXsPNktWIq9SMKFdi3hxF8dt+Po0FdNjM67qVO+gwiAkiUc6kh/6Qdf1w2it8DsBHC2Lz5fe X-Received: by 2002:a17:906:29cc:b0:7c1:8a10:7cfb with SMTP id y12-20020a17090629cc00b007c18a107cfbmr31537556eje.42.1672688978109; Mon, 02 Jan 2023 11:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672688978; cv=none; d=google.com; s=arc-20160816; b=gFcrm6uAD4nr3F2men38f+TQYh90H8j7ogqSy8Hu73W9VX7K72EgmoPO2AiLZ7w6XR 6dFZOAKaRc9pKN/bZbzpe5b8TphYyacxe9kMBIg6iPcpNp2a1rp58P5YWX9aO4/qFhHz d6YRO4r5BO0HLcX+Jw2nZU7hY5xa/AuJFN63Rl+brp2WPk3WDuDtzywEaDHdny5A0tZH TCsYfeWCm5jYiKC17ycdHgHi7tAlSFDiPAjs2gH6XMMM9WlBWpbLL9d/0TTYrxkqA7oH 5FUKt1MxwJGlQwN5J5UMy3u8mcNcIipGJzvFc0+YrriSp1Azg18MfasZXYyzBnN5/9DG nTsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=EQk+1kOAMVr8RWq04biVbUG5x442199Y9So5U/pNTxw=; b=RxMug4rRDg+ueSGpwrcwxH2VuQ58zfsxodx1I6k+KTkB6LrMaAfbVvPVnzRfMciGNH EzR2p6Am5qRCfg7iirEANSP26YyXB4D3gl3FF3IHzeCLQ8YKYzV7Kbcc7ykavru+phMS n88k6QYXQkZeFtldM7+7z92Ny1O+lco8xRQzMSLqw0GDXqoT7HQonVf+heRtqMMTuG3g Yme0E/mDjCYXysGQz9h2Oc3+myGOfPc7V2IgQhvpndJWkcfZC8raBUpIx4M8svCbrBM0 PnT3Vh2R3luHxuGE6R9sM1nAFlCh5+1rU1KfLKVoiEc545JsrmkI0d2oKPd8HFVBUoSh dlnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=rQQD8bxu; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2 header.b=K46vGaMo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd9-20020a170907628900b0084c8ac6e0b2si11821622ejc.109.2023.01.02.11.49.23; Mon, 02 Jan 2023 11:49:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=rQQD8bxu; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2 header.b=K46vGaMo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235165AbjABTAq (ORCPT + 61 others); Mon, 2 Jan 2023 14:00:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbjABTAm (ORCPT ); Mon, 2 Jan 2023 14:00:42 -0500 Received: from mailrelay2-1.pub.mailoutpod2-cph3.one.com (mailrelay2-1.pub.mailoutpod2-cph3.one.com [IPv6:2a02:2350:5:401::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23FEAF21 for ; Mon, 2 Jan 2023 11:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=EQk+1kOAMVr8RWq04biVbUG5x442199Y9So5U/pNTxw=; b=rQQD8bxuv8Pgr1oC96farSkjWukdP6oP9yQypSyjEo4DUIPdhl62ZjNYyaLd5ZxDra3UUKoJKM8Ac YAJsgen/5rQJ9Fq5U64E+/mmNoYz6GvwiEPg4EwUMezMddKjkd1GfHyz0bqSYf10WraLdOn9IaTBvK 6TFSQoF5eOZXo5J/L5qRx/A83Lizm18nFeb1S4zGpk8HWr1h95/fkQ1FlMueALOpM4o2VSDGupPfo1 n+Q6Mr3b7HjBjj7+vSXShi3Zcel92+eUXgyNbPZTd6BelRZUj0sPlf2oQqy6KX4fg1VcSPv+oxgkFW IGH+vxRlSD0mxg8bZBl8dFT/Kz6nuBg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=EQk+1kOAMVr8RWq04biVbUG5x442199Y9So5U/pNTxw=; b=K46vGaMogCk+vHo9VPQrAC0tZwR/vCA7/M7h/PYk3t9cxj8G1WhbgPTZ/XaOwNIJlfu7ehEWGqpgJ n9b3McnBQ== X-HalOne-ID: be9e8061-8acf-11ed-a2ca-93f0a866dfbb Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay2 (Halon) with ESMTPSA id be9e8061-8acf-11ed-a2ca-93f0a866dfbb; Mon, 02 Jan 2023 19:00:39 +0000 (UTC) Date: Mon, 2 Jan 2023 20:00:37 +0100 From: Sam Ravnborg To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Ondrej Jirman , Purism Kernel Team , Thomas Zimmermann , Guido =?iso-8859-1?Q?G=FCnther?= , Thierry Reding , dri-devel@lists.freedesktop.org Subject: Re: [PATCH 00/14] drm/panel: Make panel drivers use existing DSI write macros Message-ID: References: <20221228014757.3170486-1-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221228014757.3170486-1-javierm@redhat.com> X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_NONE, URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Javier. On Wed, Dec 28, 2022 at 02:47:43AM +0100, Javier Martinez Canillas wrote: > Hello, > > This series contains cleanups for DRM panel drivers that define their own > DSI write macros instead of using what's already in . > > The changes are quite trivial but I've only tested this with allmodconfig > and `make M=drivers/gpu/drm/panel/` so please review and testing would be > highly appreciated. Nice cleanup - I like it. In most of the patches there is some trivial indent that should be fixed, I think I noted it everywhere. Sorry - but no testing. The last patch is buggy - see the comment. I suggest to land patch 1 now (with the fix), this makes it easier for others to test on top of drm-misc-next. Sam > > Best regards, > Javier > > > Javier Martinez Canillas (14): > drm/mipi-dsi: Add a mipi_dsi_dcs_write_seq() macro > drm/panel-asus-z00t-tm5p5-n35596: Drop custom DSI write macros > drm/panel-sitronix-st7703: Drop custom DSI write macros > drm/panel-leadtek-ltk050h3146w: Drop custom DSI write macro > drm/panel-elida-kd35t133: Drop custom DSI write macro > drm/panel-boe-bf060y8m-aj0: Drop custom DSI write macro > drm/panel-novatek-nt35950: Drop custom DSI write macro > drm/panel-jdi-fhd-r63452: Drop custom DSI write macros > drm/panel-samsung-s6e88a0-ams452ef01: Drop custom DSI write macro > drm/panel-samsung-sofef00: Drop custom DSI write macro > drm/panel-sharp-ls060t1sx01: Drop custom DSI write macro > drm/panel-mantix-mlaf057we51: Drop custom DSI write macro > drm/panel-sony-tulip-truly-nt35521: Drop custom DSI write macro > drm/panel-xinpeng-xpp055c272: Drop custom DSI write macro > > .../drm/panel/panel-asus-z00t-tm5p5-n35596.c | 96 ++--- > .../gpu/drm/panel/panel-boe-bf060y8m-aj0.c | 28 +- > drivers/gpu/drm/panel/panel-elida-kd35t133.c | 34 +- > drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c | 50 +-- > .../drm/panel/panel-leadtek-ltk050h3146w.c | 64 ++-- > .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 24 +- > drivers/gpu/drm/panel/panel-novatek-nt35950.c | 14 +- > .../panel/panel-samsung-s6e88a0-ams452ef01.c | 24 +- > drivers/gpu/drm/panel/panel-samsung-sofef00.c | 24 +- > .../gpu/drm/panel/panel-sharp-ls060t1sx01.c | 19 +- > drivers/gpu/drm/panel/panel-sitronix-st7703.c | 83 ++--- > .../panel/panel-sony-tulip-truly-nt35521.c | 348 +++++++++--------- > .../gpu/drm/panel/panel-xinpeng-xpp055c272.c | 44 +-- > include/drm/drm_mipi_dsi.h | 16 + > 14 files changed, 374 insertions(+), 494 deletions(-) > > -- > 2.38.1