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=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 16613C4361B for ; Tue, 15 Dec 2020 10:07:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF54622202 for ; Tue, 15 Dec 2020 10:07:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbgLOKH2 (ORCPT ); Tue, 15 Dec 2020 05:07:28 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:56372 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727182AbgLOKH1 (ORCPT ); Tue, 15 Dec 2020 05:07:27 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0BFA5VYU128248; Tue, 15 Dec 2020 04:05:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1608026731; bh=+gNaPZgU13a6hnGA3NX7SdIT0byXyoDAmCTH1TOO0+o=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=aGs9xIJTo7/nIPfPrguuFi6DfPmh/kjwfXXGu2r41Bs/2RIX8iRC3FUwm+8GUYrk2 ejm2Ftl5pO6yCWuevs6qoiujqpW0H1qWqhQeFEOVjXA0rsZctDnGWyrW11QES3LNY7 b0bF8Ehfr6ndX5vbp3eoXB0+dBQoFzncuAkJNpeI= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0BFA5Vh1065663 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 15 Dec 2020 04:05:31 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 15 Dec 2020 04:05:30 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 15 Dec 2020 04:05:31 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0BFA5SIO104178; Tue, 15 Dec 2020 04:05:29 -0600 Subject: Re: [PATCH v5 29/29] drm/omap: dsi: allow DSI commands to be sent early To: Sebastian Reichel CC: Laurent Pinchart , Nikhil Devshatwar , , , Sekhar Nori , Tony Lindgren , , Sam Ravnborg References: <20201208122855.254819-1-tomi.valkeinen@ti.com> <20201208122855.254819-30-tomi.valkeinen@ti.com> <20201214171703.aljagq444etuzdnx@earth.universe> From: Tomi Valkeinen Message-ID: <02df0576-e9c9-7b20-4473-ca460a3e3857@ti.com> Date: Tue, 15 Dec 2020 12:05:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201214171703.aljagq444etuzdnx@earth.universe> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Sebastian, On 14/12/2020 19:17, Sebastian Reichel wrote: > Hi, > > On Tue, Dec 08, 2020 at 02:28:55PM +0200, Tomi Valkeinen wrote: >> Panel drivers can send DSI commands in panel's prepare(), which happens >> before the bridge's enable() is called. The OMAP DSI driver currently >> only sets up the DSI interface at bridge's enable(), so prepare() cannot >> be used to send DSI commands. >> >> This patch fixes the issue by making it possible to enable the DSI >> interface any time a command is about to be sent. Disabling the >> interface is be done via delayed work. >> >> Signed-off-by: Tomi Valkeinen >> --- > > Reviewed-by: Sebastian Reichel > > Would be nice to include the information why locking is ok from your > reply mails to the patch description. It was helpful for reviewing > the patch :) Thanks for the reviews! I've made the changes you suggested. I'll do some testing on top of the latest drm-misc-next, and send the whole series once more, so that I'm able to dim apply it. I'm planning to push this to drm-misc-next tomorrow. Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki