Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp864457pxa; Sat, 22 Aug 2020 02:54:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq+73lFgT2oOqszoka6zlR34975oWKTT8qbgDkYuW6mumtvGKj1NcrzFkdTYfuoLZvM915 X-Received: by 2002:a05:6402:60e:: with SMTP id n14mr6625589edv.29.1598090062381; Sat, 22 Aug 2020 02:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598090062; cv=none; d=google.com; s=arc-20160816; b=KW50wj35vAuawHmaSbO57MD45G6wzaRTZq+AorGxvuc51yl/DoduqeiAui/z4L7K3R G27ztVBvF98tqkjWcrd+QNrq0WE6KeLbF1uPaOT0rxnFpu7GjoMPgqJOU5QSDfJ38L/7 6fyXrWaBkV5FkAg1h7wDshTqJvOMFlFimI0qNnz9V6IEwYHb4Cc3MLXmB+TQ/Cdl3ZGQ Fh67VSJ8do9dqvS6F6zeBuvCaa+gpIEdQsCbYgutbF1pSBTjfuHiT5Dic0S1OTMYUMTp /T9MqIFZDxjWebLJlLdGBrvruFSa5EIJ9Fv8m8joaFa0YctRsd7pBCGSxqP4C6Nt8Pcw 0PpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Os+9TwwGyOJ8kRmY99YGBUC3tc94AGb9IHJGi731Tjw=; b=KCzv+yAJsS6TfTqtiqpnJ7f4I6T1CAvJ+byGqhy6+tPjF9ZVeubCtvs7Yy3WqfLlPC /zL1m3fs9LCW4XUt5BlwpZ2Jw69serJAc4XojVN1EN7IuiUBTwEXTqzSlphezrXaITPc vWTWuYFE9nrtBs7M8MQFbVJ/9JaSH/gEpvy+ryOtj7zWXeViTgsOfMtKFxULioeoEJ9A /434HYKhem0VdRMGTFo1IlHWoUPuoyH+rAzUSmj2gr0vVkcu3j4QfDVreFM5CWE36p1j f49p5oBG8c0V+xXCQa0sDfW9wE7jbfXr26GmzzsPDa11g7cVNO3ttT3KAh6pQbaYhjvx DlZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y98si2523980ede.605.2020.08.22.02.53.59; Sat, 22 Aug 2020 02:54:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbgHVJkE (ORCPT + 99 others); Sat, 22 Aug 2020 05:40:04 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:54676 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbgHVJkC (ORCPT ); Sat, 22 Aug 2020 05:40:02 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (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 D0C6C80516; Sat, 22 Aug 2020 11:40:00 +0200 (CEST) Date: Sat, 22 Aug 2020 11:39:59 +0200 From: Sam Ravnborg To: Enric Balletbo i Serra Cc: Jernej Skrabec , drinkcat@chromium.org, Jonas Karlman , David Airlie , Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Boris Brezillon , Laurent Pinchart , hsinyi@chromium.org, matthias.bgg@gmail.com, Collabora Kernel ML Subject: Re: [PATCH 3/3] drm/bridge: ps8640: Rework power state handling Message-ID: <20200822093959.GD430436@ravnborg.org> References: <20200615205320.790334-1-enric.balletbo@collabora.com> <20200615205320.790334-4-enric.balletbo@collabora.com> <20200620214225.GD74146@ravnborg.org> <0220cfe5-2ac9-2d8b-529d-bb1a61478395@collabora.com> <20200624070738.GA1807736@ravnborg.org> <20b2f097-d789-3f5a-cd7e-3701669f43cb@collabora.com> <5af757da-87ec-c0d1-374d-0a69401e09a3@collabora.com> <20200821113809.GA283294@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200821113809.GA283294@ravnborg.org> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=aP3eV41m c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=aBBcIbYZM5gs4jnWP7QA:9 a=CjuIK1q_8ugA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Enric. On Fri, Aug 21, 2020 at 01:38:09PM +0200, Sam Ravnborg wrote: > Hi Enric. > > > > > Let me reformulate the question for if it was not clear. > > > > What I did is be able to read the EDID every time userspace asks for it (so > > kernel enables all the required) and Sam is proposing to just fail if all is not > > setup. I can obviously do this but my question is, at which point I should leave > > all the logic enabled to be able to read the EDID (after probe?, after > > pre_enable, after enable?) It is not clear for me from the API. > > I am not clear if my suggestion is a good suggestion. > > I recall I saw something similar in another bridge driver. I have noew checked - and there is several bridge drivers that do a power_on to read get_edid - so I was mistaken. Sorry! Sam