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=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 53727C64E8A for ; Sat, 28 Nov 2020 21:55:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A97620857 for ; Sat, 28 Nov 2020 21:55:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391537AbgK1VzT convert rfc822-to-8bit (ORCPT ); Sat, 28 Nov 2020 16:55:19 -0500 Received: from aposti.net ([89.234.176.197]:60314 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387641AbgK1UEd (ORCPT ); Sat, 28 Nov 2020 15:04:33 -0500 Date: Sat, 28 Nov 2020 20:03:40 +0000 From: Paul Cercueil Subject: Re: [PATCH] drm/ingenic: Add basic PM support To: Sam Ravnborg Cc: David Airlie , Daniel Vetter , od@zcrc.me, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Message-Id: <4QVIKQ.W7K2XGO9R8N22@crapouillou.net> In-Reply-To: <20201128185820.GA1001988@ravnborg.org> References: <20201128171606.132830-1-paul@crapouillou.net> <20201128185820.GA1001988@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le sam. 28 nov. 2020 à 19:58, Sam Ravnborg a écrit : > Hi Paul. > > On Sat, Nov 28, 2020 at 05:16:06PM +0000, Paul Cercueil wrote: >> Call drm_mode_config_helper_suspend() and >> drm_mode_config_helper_resume() on suspend and resume, respectively. >> >> This makes sure that the display stack is properly disabled when the >> hardware is put to sleep. >> >> Signed-off-by: Paul Cercueil > > As discussed on irc, with resume fixed to return the result of the > drm_mode_config_helper_resume() call. > > Reviewed-by: Sam Ravnborg Applied with the fix, thanks. Cheers, -Paul