From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ravnborg Subject: Re: [PATCH v2 0/4] drm/panel: jh057n00900: Move dsi init sequence to prepare Date: Fri, 26 Jul 2019 20:43:06 +0200 Message-ID: <20190726184306.GA14981@ravnborg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Guido =?iso-8859-1?Q?G=FCnther?= Cc: Purism Kernel Team , Thierry Reding , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org Hi Guido. On Fri, Jul 26, 2019 at 03:14:35PM +0200, Guido Günther wrote: > > If the panel is wrapped in a panel_bridge it gets prepar()ed before the > upstream DSI bridge which can cause hangs (e.g. with imx-nwl since clocks > are not enabled yet). To avoid this move the panel's first DSI access to > enable() so the upstream bridge can prepare the DSI host controller in > it's pre_enable(). > > The second patch makes the disable() call symmetric to the above and the third > one just eases debugging. > > Changes from v1: > * As per review comments by Sam Ravnborg > * Ignore failures to disable the backlight in jh057n_disable() > * Add 'drm/panel: jh057n00900: Use drm_panel_{unprepare,disable} consistently' > * Collected Reviewed-By: Thanks Sam! > > To: "Guido Günther" ,Purism Kernel Team ,Thierry Reding ,Sam Ravnborg ,David Airlie ,Daniel Vetter ,dri-devel@lists.freedesktop.org,linux-kernel@vger.kernel.org > > > Guido Günther (4): > drm/panel: jh057n00900: Move panel DSI init to enable() > drm/panel: jh057n00900: Move mipi_dsi_dcs_set_display_off to disable() > drm/panel: jh057n00900: Print error code on all DRM_DEV_ERROR()s > drm/panel: jh057n00900: Use drm_panel_{unprepare,disable} consistently Looks good. Series applied to drm-misc-next and pushed out. Sam