From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97999C432BE for ; Thu, 5 Aug 2021 16:17:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80CF0610CD for ; Thu, 5 Aug 2021 16:17:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230521AbhHEQR6 convert rfc822-to-8bit (ORCPT ); Thu, 5 Aug 2021 12:17:58 -0400 Received: from aposti.net ([89.234.176.197]:38224 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhHEQR5 (ORCPT ); Thu, 5 Aug 2021 12:17:57 -0400 Date: Thu, 05 Aug 2021 18:17:32 +0200 From: Paul Cercueil Subject: Re: [PATCH v2 8/8] [RFC] drm/ingenic: convert to component framework for jz4780 hdmi To: "H. Nikolaus Schaller" Cc: Laurent Pinchart , Rob Herring , Mark Rutland , Thomas Bogendoerfer , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Jernej Skrabec , Ezequiel Garcia , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Paul Boddie , Jonas Karlman , dri-devel@lists.freedesktop.org Message-Id: <8XJDXQ.X70C5WOD0QB7@crapouillou.net> In-Reply-To: References: <77554dd2612f418f6ab74a8be06c82b71410e0e6.1628172477.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikolaus and Laurent, Le jeu., août 5 2021 at 18:07:20 +0200, H. Nikolaus Schaller a écrit : > Hi Laurent, > >> Am 05.08.2021 um 17:04 schrieb Laurent Pinchart >> : >> >> Hi Nikolaus, >> >> Thank you for the patch. >> >> On Thu, Aug 05, 2021 at 04:07:57PM +0200, H. Nikolaus Schaller >> wrote: >>> This patch attempts to convert the ingenic-dw-hdmi driver >>> into a version that uses the component framework. >> >> Why ? What problem would this solve ? > > Well, it was suggested in a v1 we did post several months ago. I have > not > looked up by whom and do not exactly remember the reasons. > > We now simply thought that it is common style since dome dw-hdmi > drivers > make use of it but some others don't. And we got it working without. > > If it is not needed/requested by anyone, we can drop it from v3 (or > add later). I don't remember exactly TBH - the only reason to use a component is to have access to the main driver's "drm_device" structure. The IPU needs it for instance, to register planes; but I don't think this HDMI driver needs it as it registers a bridge. Cheers, -Paul