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 D965AC433DF for ; Fri, 19 Jun 2020 06:58:47 +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 B8FA520809 for ; Fri, 19 Jun 2020 06:58:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8FA520809 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 702206EC20; Fri, 19 Jun 2020 06:58:39 +0000 (UTC) Received: from muru.com (muru.com [72.249.23.125]) by gabe.freedesktop.org (Postfix) with ESMTP id 61ADA6E3FE for ; Thu, 18 Jun 2020 14:42:02 +0000 (UTC) Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8979A80A9; Thu, 18 Jun 2020 14:42:53 +0000 (UTC) Date: Thu, 18 Jun 2020 07:41:58 -0700 From: Tony Lindgren To: Tomi Valkeinen Subject: Re: [PATCH v2] drm/omap: force runtime PM suspend on system suspend Message-ID: <20200618144158.GE43721@atomide.com> References: <20200618095153.611071-1-tomi.valkeinen@ti.com> <20200618131608.GC43721@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailman-Approved-At: Fri, 19 Jun 2020 06:58:10 +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: Grygorii Strashko , Laurent Pinchart , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" * Tomi Valkeinen [200618 14:03]: > On 18/06/2020 16:16, Tony Lindgren wrote: > > * Tomi Valkeinen [200618 09:53]: > > > Use SET_LATE_SYSTEM_SLEEP_PM_OPS in DSS submodules to force runtime PM > > > suspend and resume. > > > > > > We use suspend late version so that omapdrm's system suspend callback is > > > called first, as that will disable all the display outputs after which > > > it's safe to force DSS into suspend. > > > > This looks like a nice way of doing it, would be good to have as a > > regression fix for the -rc cycle: > > > > Acked-by: Tony Lindgren > > Thanks. Did you get the full suspend working? I still can't resume, unless I > use pm_test to avoid the full suspend. So I'm still not sure if things > really work. I just tested my fixes branch at commit 80bf72598663 ("ARM: dts: am5729: beaglebone-ai: fix rgmii phy-mode") with your patch and HDMI cable attached and suspend and resume works for me: Tested-by: Tony Lindgren I did not have luck the last time I tried am437x-sk-evm, but that seems like some separate regression that's been around for awhile. I recall testing it successfully last fall at some point. Regards, Tony _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel