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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 EA83FC433E0 for ; Tue, 9 Jun 2020 17:10:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D18E320734 for ; Tue, 9 Jun 2020 17:10:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731593AbgFIRKx (ORCPT ); Tue, 9 Jun 2020 13:10:53 -0400 Received: from muru.com ([72.249.23.125]:57424 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728343AbgFIRKr (ORCPT ); Tue, 9 Jun 2020 13:10:47 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AC9D28088; Tue, 9 Jun 2020 17:11:37 +0000 (UTC) Date: Tue, 9 Jun 2020 10:10:43 -0700 From: Tony Lindgren To: Tomi Valkeinen Cc: linux-omap@vger.kernel.org, "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Laurent Pinchart Subject: Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal Message-ID: <20200609171043.GN37466@atomide.com> References: <20200531193941.13179-1-tony@atomide.com> <20200531193941.13179-2-tony@atomide.com> <16ba1808-5c7f-573d-8dd0-c80cac2f476e@ti.com> <20200603140639.GG37466@atomide.com> <47e286dd-f87a-4440-5bde-1f7b53e8b672@ti.com> <20200609151943.GL37466@atomide.com> <9ed70121-2a53-d2b3-051a-88eb83e6c53f@ti.com> <20200609165234.GM37466@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200609165234.GM37466@atomide.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [200609 16:53]: > * Tomi Valkeinen [200609 15:27]: > > On 09/06/2020 18:19, Tony Lindgren wrote: > > > Currently I'm only able to rmmod -f omapdrm, not sure if these issues might > > > be related. > > > > Hmm, I always use modules, and can unload omapdrm and drm fine. But there's > > a sequence that must be followed. However, the sequence starts with > > unloading omapdrm... What behavior you see with rmmod? > > Hmm maybe it's output specific somehow? > > I just tried again with the following with v5.7. I see the omapdrm > usage count issue happen at least on duovero, but don't seem to > currently get /dev/fb0 initialized on x15 with these: > > modprobe omapdrm > #modprobe connector_hdmi # up to v5.6 > modprobe display-connector # starting with v5.7-rc1 > modprobe ti-tpd12s015 # beagle-x15 > modprobe omapdss > > # rmmod omapdrm > rmmod: ERROR: Module omapdrm is in use > > # lsmod | grep omapdrm > omapdrm 65536 1 > omapdss_base 16384 2 omapdrm,omapdss > drm_kms_helper 155648 3 omapdss_base,omapdrm,omapdss > drm 372736 7 ti_tpd12s015,omapdss_base,display_connector,omapdrm,omapdss,drm_kms_helper I'm also seeing the rmmod omapdrm issue on am437x-sk-evm: modprobe pwm-omap-dmtimer modprobe pwm-tiecap modprobe pwm_bl modprobe omapdrm modprobe panel-simple modprobe display-connector # starting with v5.7-rc1 modprobe omapdss # rmmod omapdrm rmmod: ERROR: Module omapdrm is in use > On beagle-x15 I see these errors after modprobe: > > DSS: OMAP DSS rev 6.1 > omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) > omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > aic_dvdd_fixed: disabling > ldousb: disabling > > Maybe I'm missing some related module on x15? Still did not figure what I might be missing on x15 :) Regards, Tony 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 65846C433DF for ; Tue, 9 Jun 2020 17:11:02 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 36CD420734 for ; Tue, 9 Jun 2020 17:11:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ppi5Q+ss" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36CD420734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=kt8rq0CghwkIHM+VP9l+rZUYz77vNjbJrX1R6s3jVqU=; b=ppi5Q+ss2X5z3N 6iZSURwCO/v4+3CObwoGVYau2WKO1CIhUVlfaO+F9aLRDcHMyI7g/CQ+3LA7Xk/Nxztx3vth2vUFr zmhQ1tWrvUrDLJyEppguvn6ZevYi2KBpvhjnbm4lGqYGNRq1DG95VwlSzjzuWQHBFXAjfnoPS+tAC A4v+ENkdJlv88/MJ5Dg/MooO8z6QsG3TzBn/8sBppsdsxhwiAvAPAHL5bpbQgRORYenvNRfKHeHlR a+PPRqZkh7iGz3WP1a25QCgBAQLK5TbHYhmJhL/Nd9Ib9MFk+B8fln1d/CweUbV2QKVXb8elfskHd ErJptHyk9N5Jwy25S2yw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jihly-00072S-78; Tue, 09 Jun 2020 17:10:50 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jihlv-00071a-Bm for linux-arm-kernel@lists.infradead.org; Tue, 09 Jun 2020 17:10:48 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AC9D28088; Tue, 9 Jun 2020 17:11:37 +0000 (UTC) Date: Tue, 9 Jun 2020 10:10:43 -0700 From: Tony Lindgren To: Tomi Valkeinen Subject: Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal Message-ID: <20200609171043.GN37466@atomide.com> References: <20200531193941.13179-1-tony@atomide.com> <20200531193941.13179-2-tony@atomide.com> <16ba1808-5c7f-573d-8dd0-c80cac2f476e@ti.com> <20200603140639.GG37466@atomide.com> <47e286dd-f87a-4440-5bde-1f7b53e8b672@ti.com> <20200609151943.GL37466@atomide.com> <9ed70121-2a53-d2b3-051a-88eb83e6c53f@ti.com> <20200609165234.GM37466@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200609165234.GM37466@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200609_101047_442570_189CEB28 X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Tero Kristo , Grygorii Strashko , Dave Gerlach , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Andrew F . Davis" , Peter Ujfalusi , Faiz Abbas , Laurent Pinchart , Keerthy , Suman Anna , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Tony Lindgren [200609 16:53]: > * Tomi Valkeinen [200609 15:27]: > > On 09/06/2020 18:19, Tony Lindgren wrote: > > > Currently I'm only able to rmmod -f omapdrm, not sure if these issues might > > > be related. > > > > Hmm, I always use modules, and can unload omapdrm and drm fine. But there's > > a sequence that must be followed. However, the sequence starts with > > unloading omapdrm... What behavior you see with rmmod? > > Hmm maybe it's output specific somehow? > > I just tried again with the following with v5.7. I see the omapdrm > usage count issue happen at least on duovero, but don't seem to > currently get /dev/fb0 initialized on x15 with these: > > modprobe omapdrm > #modprobe connector_hdmi # up to v5.6 > modprobe display-connector # starting with v5.7-rc1 > modprobe ti-tpd12s015 # beagle-x15 > modprobe omapdss > > # rmmod omapdrm > rmmod: ERROR: Module omapdrm is in use > > # lsmod | grep omapdrm > omapdrm 65536 1 > omapdss_base 16384 2 omapdrm,omapdss > drm_kms_helper 155648 3 omapdss_base,omapdrm,omapdss > drm 372736 7 ti_tpd12s015,omapdss_base,display_connector,omapdrm,omapdss,drm_kms_helper I'm also seeing the rmmod omapdrm issue on am437x-sk-evm: modprobe pwm-omap-dmtimer modprobe pwm-tiecap modprobe pwm_bl modprobe omapdrm modprobe panel-simple modprobe display-connector # starting with v5.7-rc1 modprobe omapdss # rmmod omapdrm rmmod: ERROR: Module omapdrm is in use > On beagle-x15 I see these errors after modprobe: > > DSS: OMAP DSS rev 6.1 > omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) > omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > aic_dvdd_fixed: disabling > ldousb: disabling > > Maybe I'm missing some related module on x15? Still did not figure what I might be missing on x15 :) Regards, Tony _______________________________________________ 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 X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 A2476C433E1 for ; Wed, 10 Jun 2020 07:37:17 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 82D7920801 for ; Wed, 10 Jun 2020 07:37:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82D7920801 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96ED06E451; Wed, 10 Jun 2020 07:36:20 +0000 (UTC) Received: from muru.com (muru.com [72.249.23.125]) by gabe.freedesktop.org (Postfix) with ESMTP id 477276E2CA for ; Tue, 9 Jun 2020 17:10:47 +0000 (UTC) Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AC9D28088; Tue, 9 Jun 2020 17:11:37 +0000 (UTC) Date: Tue, 9 Jun 2020 10:10:43 -0700 From: Tony Lindgren To: Tomi Valkeinen Subject: Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal Message-ID: <20200609171043.GN37466@atomide.com> References: <20200531193941.13179-1-tony@atomide.com> <20200531193941.13179-2-tony@atomide.com> <16ba1808-5c7f-573d-8dd0-c80cac2f476e@ti.com> <20200603140639.GG37466@atomide.com> <47e286dd-f87a-4440-5bde-1f7b53e8b672@ti.com> <20200609151943.GL37466@atomide.com> <9ed70121-2a53-d2b3-051a-88eb83e6c53f@ti.com> <20200609165234.GM37466@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200609165234.GM37466@atomide.com> X-Mailman-Approved-At: Wed, 10 Jun 2020 07:35:32 +0000 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: Nishanth Menon , Tero Kristo , Grygorii Strashko , Dave Gerlach , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Andrew F . Davis" , Peter Ujfalusi , Faiz Abbas , Laurent Pinchart , Keerthy , Suman Anna , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" * Tony Lindgren [200609 16:53]: > * Tomi Valkeinen [200609 15:27]: > > On 09/06/2020 18:19, Tony Lindgren wrote: > > > Currently I'm only able to rmmod -f omapdrm, not sure if these issues might > > > be related. > > > > Hmm, I always use modules, and can unload omapdrm and drm fine. But there's > > a sequence that must be followed. However, the sequence starts with > > unloading omapdrm... What behavior you see with rmmod? > > Hmm maybe it's output specific somehow? > > I just tried again with the following with v5.7. I see the omapdrm > usage count issue happen at least on duovero, but don't seem to > currently get /dev/fb0 initialized on x15 with these: > > modprobe omapdrm > #modprobe connector_hdmi # up to v5.6 > modprobe display-connector # starting with v5.7-rc1 > modprobe ti-tpd12s015 # beagle-x15 > modprobe omapdss > > # rmmod omapdrm > rmmod: ERROR: Module omapdrm is in use > > # lsmod | grep omapdrm > omapdrm 65536 1 > omapdss_base 16384 2 omapdrm,omapdss > drm_kms_helper 155648 3 omapdss_base,omapdrm,omapdss > drm 372736 7 ti_tpd12s015,omapdss_base,display_connector,omapdrm,omapdss,drm_kms_helper I'm also seeing the rmmod omapdrm issue on am437x-sk-evm: modprobe pwm-omap-dmtimer modprobe pwm-tiecap modprobe pwm_bl modprobe omapdrm modprobe panel-simple modprobe display-connector # starting with v5.7-rc1 modprobe omapdss # rmmod omapdrm rmmod: ERROR: Module omapdrm is in use > On beagle-x15 I see these errors after modprobe: > > DSS: OMAP DSS rev 6.1 > omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) > omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) > [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 > omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes > aic_dvdd_fixed: disabling > ldousb: disabling > > Maybe I'm missing some related module on x15? Still did not figure what I might be missing on x15 :) Regards, Tony _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel