Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp69746ybi; Fri, 26 Jul 2019 06:17:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvCekfVgHJvoHNTBubuMkhXMZQ7UStP38aUKt+Nv3Ps8zjLiyv4GO4AWpax4rIR0/gkbzQ X-Received: by 2002:a63:460c:: with SMTP id t12mr90691507pga.69.1564147038309; Fri, 26 Jul 2019 06:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564147038; cv=none; d=google.com; s=arc-20160816; b=dRpxHfDn0guAJs+Ega/bT0hkHLn4hxOYMVhPlUHF9UpxTafVwN7iKpW8Jjz5sVnc8E qcr4/afQLYkGY/Xo9/XSZdiPDMBtwx6TqBBpEA5k0pNOscNeJgxXpICE16dZlyuIu9gL zD+tGbrsv1M+GcNjf2yOCK2ciDVk5dCuuXZQfLcURxxYUPYFhCRlMwGN+PmDa7ZOidKY FjVrySMTozMA4SVetuBluld7d5Ut3RbL1iEcis5/xxPG2NxWiBQ5/q9XlnPMSMf71g4+ IMHCgBuVPEsaCZ28tMu+kGkack35ZVOibZC5Oe4etLZj1ByQlVb6pCPTYvInF32pBmNO NB+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+B0jKVdCfOGCO9Eg78y/8GC3YcN+Uf8GQt/KwWWZWAo=; b=WDN/37Td+yMUDRNVnvJ773joA3yzDi0jmI5x576WYXSGIXfUD/X1PMhsGKV4kzXpXv Vac+qD6UAGWRUix95Y1QpaUvrJ8L0pBt1sw6QUnwrGVtSDGdOWOBFnNj/1CLc8zu1pfj Jy28C37bKJF3VNY4ydM2P9CpLftRqHPsoPut/eq/4QL1Zl8vC210AbTcAodg6utqDdWn whRAnRCe3yqbwmr5Pq7jhOmhL3au14E7s/DCW29fuzVfiKMTGQkh0ujuqCQzUzIZIOp9 hbmygR2C7+eikhgrHRUB9gSAP13qOB2IfRB1BTG4yJmZwj9kklHSYVMWSP02ZMQUQWp1 iz0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o23si22297210pfp.131.2019.07.26.06.16.56; Fri, 26 Jul 2019 06:17:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727209AbfGZNPM (ORCPT + 99 others); Fri, 26 Jul 2019 09:15:12 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:36254 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbfGZNPM (ORCPT ); Fri, 26 Jul 2019 09:15:12 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 1C3B480502; Fri, 26 Jul 2019 15:15:07 +0200 (CEST) Date: Fri, 26 Jul 2019 15:15:06 +0200 From: Sam Ravnborg To: "dbasehore ." Cc: Maxime Ripard , Intel Graphics , linux-kernel , dri-devel , David Airlie , Thierry Reding , "moderated list:ARM/Mediatek SoC support" , Laurent Pinchart , Rodrigo Vivi , Matthias Brugger , Sean Paul , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH v7 2/4] drm/panel: set display info in panel attach Message-ID: <20190726131506.GB17801@ravnborg.org> References: <20190710021659.177950-1-dbasehore@chromium.org> <20190710021659.177950-3-dbasehore@chromium.org> <20190723091945.GD787@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=7gkXJVJtAAAA:8 a=VwQbUJbxAAAA:8 a=CPKLS5VrouiAa9iZAqIA:9 a=CjuIK1q_8ugA:10 a=E9Po1WZjFZOl8hwRPBS3:22 a=AjGcO6oz07-iQ99wixmX:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Derek. On Wed, Jul 24, 2019 at 03:15:19PM -0700, dbasehore . wrote: > Hi Sam, thanks for pointing out the potential conflict. > > On Tue, Jul 23, 2019 at 2:19 AM Sam Ravnborg wrote: > > > > Hi Derek. > > > > On Tue, Jul 09, 2019 at 07:16:57PM -0700, Derek Basehore wrote: > > > Devicetree systems can set panel orientation via a panel binding, but > > > there's no way, as is, to propagate this setting to the connector, > > > where the property need to be added. > > > To address this, this patch sets orientation, as well as other fixed > > > values for the panel, in the drm_panel_attach function. These values > > > are stored from probe in the drm_panel struct. > > > > This approch seems to conflict with work done by Laurent where the > > ownership/creation of the connector will be moved to the display controller. > > > > If I understand it correct then there should not be a 1:1 relation > > between a panel and a connector anymore. > > > Can you point me to this work? Please take a look at the series with subject: "[PATCH 00/60] drm/omap: Replace custom display drivers with drm_bridge and drm_panel" Link: https://patchwork.kernel.org/cover/11034175/ Laurent has done a great job explaining the background, If you look into the patched you will see the idea is that a drm_panel no longer get attached to a drm_controller - it will be an argument to get_modes(). Sam