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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40DF9C433F5 for ; Tue, 12 Apr 2022 21:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tw8XZKhmQFTHDYLwvkUc3fmhbd6JFoIdr60fR22umFY=; b=gD2WHVVWZE0r1x X+YxI3Zdvr/pSlfL3xbNYwhgygg7oy6rZVtuzrCa1b1wgEL1k2Szn7Ii4mY6FAJ3IKx7giz/P7Qqb W67zbk7VmqbtfVuEhgz5nSIUGyRV7Vr8N4uydfDxpx0q+xEM3kMir20JJvkRljqEyxdWX7zjPynIE +beOwb2K86DDoZT1HXV/UWwZe9RWcZBNj1RMmGQ9P8OQGVl5wu2YjOlCp+aX7mHU4WmOvwRE6AOOo R6tsby3kaqv8AujfN12BglPTx+qJU/XFqD23tpRm9H2290KHCgyY4mkAHHqxUqLiXoFU9UcqyAwW6 x6SRkBZtmkZ4MaN12WEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neNwm-00Fosz-Pm; Tue, 12 Apr 2022 21:21:12 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neNwi-00ForT-6A for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2022 21:21:11 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKoth058896; Tue, 12 Apr 2022 16:20:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649798450; bh=eI1T/bFGS1LickmovZ0igeFAK0lvOxui0sWfaIzxQeY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=uO+WB20qXWzIHqPsbw2xPhAIXv1aam7N7nd5s0AcdedCLgqEK+52tIjzb5MSRP4r5 /w2Vee7SgMLitia9QJpUlPFmqkHHzbfIUa7NOUBDYbU98YXa1p4sp6VwkF+0xq3EN8 07pTtieb3kZfpKRdjdtit+/v1rDeP2YaI7z4zY9o= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23CLKoXU093452 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Apr 2022 16:20:50 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 12 Apr 2022 16:20:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 12 Apr 2022 16:20:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKn6Y077073; Tue, 12 Apr 2022 16:20:49 -0500 Date: Tue, 12 Apr 2022 16:20:49 -0500 From: Nishanth Menon To: Tomi Valkeinen , CC: Devarsh Thakkar , , , , , , , , , , , , Subject: Re: [PATCH] drm/tidss: Soft Reset DISPC on startup Message-ID: <20220412212049.gjnel7aubol56azk@earache> References: <20220314113739.18000-1-devarsht@ti.com> <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220412_142108_351046_E380EB86 X-CRM114-Status: GOOD ( 16.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17:24-20220412, Tomi Valkeinen wrote: > Hi, > > On 14/03/2022 13:37, Devarsh Thakkar wrote: > > Soft reset the display subsystem controller on startup and wait for > > the reset to complete. This helps the scenario where display was > > already in use by some other core before the linux was booted. > > The reason the omapdrm doesn't do a reset is that the PM features on some of > the DSS registers were set and controlled outside dss driver, so the dss > driver could not do a reset just like that. That design was carried to the > tidss driver, although I'm not sure if the reason is valid on AM6 and J7 > platforms. > > If that reasoning is not valid, this patch is ok and: > > Reviewed-by: Tomi Valkeinen > Tony - sysc control for older omap devices still control this directly? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE4F5C433EF for ; Tue, 12 Apr 2022 21:26:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2DE3610E7EC; Tue, 12 Apr 2022 21:26:24 +0000 (UTC) X-Greylist: delayed 320 seconds by postgrey-1.36 at gabe; Tue, 12 Apr 2022 21:26:22 UTC Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A5D010E7EC for ; Tue, 12 Apr 2022 21:26:22 +0000 (UTC) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKoth058896; Tue, 12 Apr 2022 16:20:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649798450; bh=eI1T/bFGS1LickmovZ0igeFAK0lvOxui0sWfaIzxQeY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=uO+WB20qXWzIHqPsbw2xPhAIXv1aam7N7nd5s0AcdedCLgqEK+52tIjzb5MSRP4r5 /w2Vee7SgMLitia9QJpUlPFmqkHHzbfIUa7NOUBDYbU98YXa1p4sp6VwkF+0xq3EN8 07pTtieb3kZfpKRdjdtit+/v1rDeP2YaI7z4zY9o= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23CLKoXU093452 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Apr 2022 16:20:50 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 12 Apr 2022 16:20:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 12 Apr 2022 16:20:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKn6Y077073; Tue, 12 Apr 2022 16:20:49 -0500 Date: Tue, 12 Apr 2022 16:20:49 -0500 From: Nishanth Menon To: Tomi Valkeinen , Subject: Re: [PATCH] drm/tidss: Soft Reset DISPC on startup Message-ID: <20220412212049.gjnel7aubol56azk@earache> References: <20220314113739.18000-1-devarsht@ti.com> <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Devarsh Thakkar , tomba@kernel.org, airlied@linux.ie, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, a-bhatia1@ti.com, vigneshr@ti.com, laurent.pinchart@ideasonboard.com, jyri.sarha@iki.fi, nikhil.nd@ti.com, linux-arm-kernel@lists.infradead.org, r-ravikumar@ti.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 17:24-20220412, Tomi Valkeinen wrote: > Hi, > > On 14/03/2022 13:37, Devarsh Thakkar wrote: > > Soft reset the display subsystem controller on startup and wait for > > the reset to complete. This helps the scenario where display was > > already in use by some other core before the linux was booted. > > The reason the omapdrm doesn't do a reset is that the PM features on some of > the DSS registers were set and controlled outside dss driver, so the dss > driver could not do a reset just like that. That design was carried to the > tidss driver, although I'm not sure if the reason is valid on AM6 and J7 > platforms. > > If that reasoning is not valid, this patch is ok and: > > Reviewed-by: Tomi Valkeinen > Tony - sysc control for older omap devices still control this directly? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD311C433F5 for ; Tue, 12 Apr 2022 23:30:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbiDLXcT (ORCPT ); Tue, 12 Apr 2022 19:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230426AbiDLXb6 (ORCPT ); Tue, 12 Apr 2022 19:31:58 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E436490FE3 for ; Tue, 12 Apr 2022 15:17:59 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKoth058896; Tue, 12 Apr 2022 16:20:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649798450; bh=eI1T/bFGS1LickmovZ0igeFAK0lvOxui0sWfaIzxQeY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=uO+WB20qXWzIHqPsbw2xPhAIXv1aam7N7nd5s0AcdedCLgqEK+52tIjzb5MSRP4r5 /w2Vee7SgMLitia9QJpUlPFmqkHHzbfIUa7NOUBDYbU98YXa1p4sp6VwkF+0xq3EN8 07pTtieb3kZfpKRdjdtit+/v1rDeP2YaI7z4zY9o= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23CLKoXU093452 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Apr 2022 16:20:50 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 12 Apr 2022 16:20:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 12 Apr 2022 16:20:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23CLKn6Y077073; Tue, 12 Apr 2022 16:20:49 -0500 Date: Tue, 12 Apr 2022 16:20:49 -0500 From: Nishanth Menon To: Tomi Valkeinen , CC: Devarsh Thakkar , , , , , , , , , , , , Subject: Re: [PATCH] drm/tidss: Soft Reset DISPC on startup Message-ID: <20220412212049.gjnel7aubol56azk@earache> References: <20220314113739.18000-1-devarsht@ti.com> <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <86a07099-1074-e8d1-6d0e-1ce68414b627@ideasonboard.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17:24-20220412, Tomi Valkeinen wrote: > Hi, > > On 14/03/2022 13:37, Devarsh Thakkar wrote: > > Soft reset the display subsystem controller on startup and wait for > > the reset to complete. This helps the scenario where display was > > already in use by some other core before the linux was booted. > > The reason the omapdrm doesn't do a reset is that the PM features on some of > the DSS registers were set and controlled outside dss driver, so the dss > driver could not do a reset just like that. That design was carried to the > tidss driver, although I'm not sure if the reason is valid on AM6 and J7 > platforms. > > If that reasoning is not valid, this patch is ok and: > > Reviewed-by: Tomi Valkeinen > Tony - sysc control for older omap devices still control this directly? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D