Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4915501rwb; Sun, 13 Nov 2022 17:05:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6TR/DCjn0SDl465tPp+PEIhFXgZOKxUXlOeGEvG+GWEEwbDUibyM7vj/lKMJJqH0QXU9n5 X-Received: by 2002:a05:6a00:4c0b:b0:562:ebc8:6195 with SMTP id ea11-20020a056a004c0b00b00562ebc86195mr11859505pfb.38.1668387944208; Sun, 13 Nov 2022 17:05:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668387944; cv=none; d=google.com; s=arc-20160816; b=itVMQqceSYUDVNRO/9QgG0uOIHeQ4qDCQH8ErxbK5c2iDry2efFns+rWlwHCXn81Zr 2Rs7cNd265EKwbgtjj2OCgafvw45d2MC5Xgn6Po+LmFBZ2cg4haICT18wIvVcUAYdBPd /j/Uozp1Sftj33scY1yudzAYtiEDe8koMvofhYkCu00r5tjgTnTr+xZNvH/yNC8pBBTm 19H4ieuxDmZLSIn8lwmscxtKhTJQb1KR4GFXbpjXdIVBhWO5Ghbe7Hp2Ho/lZbvY+113 BqxppMCt1zn7vfqA/a83jeTMvkjZPVh+/0tXkRZknGrRT9UHLNGwBEcjg+S8x3y4S/EB QDuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=JWCaNPNku2WcRjI/vXx0mmk36Axrc/QAZnO/9E8Yb7w=; b=O8KWlYO9YFO2JEmL6zDVokvY28z6k3sTE6p7iUQKgeoblbE5hKiU7UlPFll2UhRAlM I2oxDzwpUhOD4DJK+PjTbJoniEHXqe0rRZko1h5qMKHi5/xafYThZiSEWYbQxruE8MRM hPf7mYnxYkLYmw1aQcP6UpDNVVRU6vnkuuwRsPmTIN9NRVmOYH5zztbBkHzG+c1QDmv4 XBuPvzfQdO3pWS+nA0VuRi/BB17OzU3M/gpZXisLtncdPRec6TH0OdXy3jykaqtyDu10 8N1YYH1bRC9WpBZuqlQjmdkDuIUo/aRlF/ImrI2flON6tkbsMNljnY9XYsxFbXpTj4WP /wtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=yy22+SBe; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=nEno6uAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g66-20020a636b45000000b0046f5f002364si8382239pgc.715.2022.11.13.17.05.08; Sun, 13 Nov 2022 17:05:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=yy22+SBe; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=nEno6uAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235484AbiKNAek (ORCPT + 90 others); Sun, 13 Nov 2022 19:34:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234264AbiKNAei (ORCPT ); Sun, 13 Nov 2022 19:34:38 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F3BCE093 for ; Sun, 13 Nov 2022 16:34:38 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 73892320090B; Sun, 13 Nov 2022 19:34:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 13 Nov 2022 19:34:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1668386074; x= 1668472474; bh=JWCaNPNku2WcRjI/vXx0mmk36Axrc/QAZnO/9E8Yb7w=; b=y y22+SBeTE7NzkvoXCyHhjM6xpNFCWAvcSNd7siC+iuQK1hQ4ib7ndqvq7aQ93RuZ vaxIQukHGGc8/k438DT8lYuCMpbAW3SbBEjpYd/MXl2bHDtpWZi66EFKqxxptUAY 3SdYyYXrso+ps7tWXUk8kGz0+g0AOWODdk6RpdKvIIY0gUbIIBVxjA4uN1oeHPJY MDNgt1MoKZF1YLfeiMDHn0YMqAQeWWBMX4o5wd8H/yEJUMu+LzC7ol1WLg/ZtoQ5 FdAWhQPiKSL0Q3LeERpjFygM0TL30WBDKO/9OjFxOd0mA/YI7DkSF5Lp/HGKVbxE FESRdYk5foVfDSGVkcabA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1668386074; x= 1668472474; bh=JWCaNPNku2WcRjI/vXx0mmk36Axrc/QAZnO/9E8Yb7w=; b=n Eno6uAakEAYLLVaDHC0LEFNZrsvt7InkYfGKW02JsZNoB5NYmYHcpzxjkGEkUJOC usJ1qC7bxoei3mN//citsERdGVUMDKuKAdT3Ax24CWCvDsJzTUgdyUmbIWUNO7/m FJrUxQTpqpg5tF95DcIP3KFH099V2Y7gxv9mNrxreCPtEM3Bs6/yQw7isDE1T4tO WqnaL3pVj1F7JPL++G0eRFSxJk8+LeTq+gCYnKa6mhiu45IjZ7X0kcIRqZDX+AdN 5kCodwAIrd/c9849xAx3lG3ZhQZkXBaLOo0AAJlw0e2ilqWWMaEqvMmALbDcHOOg y0qUNIBa4wr9ZXDaMJ88w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedugddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepkeejleelfeeitdfhtdfgkeeghedufeduueegffdvhfdukeelleef tdetjeehuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Nov 2022 19:34:32 -0500 (EST) Message-ID: <22ca0f6f-1e2e-3dc0-46f8-8399889c240c@sholland.org> Date: Sun, 13 Nov 2022 18:34:31 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux ppc64le; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH 06/26] drm: sun4i: Use the dev_pm_ops provided by modeset helper Content-Language: en-US To: Paul Cercueil , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev References: <20221107175106.360578-1-paul@crapouillou.net> <20221107175106.360578-7-paul@crapouillou.net> From: Samuel Holland In-Reply-To: <20221107175106.360578-7-paul@crapouillou.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/7/22 11:50, Paul Cercueil wrote: > Use the drm_mode_config_pm_ops structure exported by > drm_modeset_helper.c, which provides the exact same PM callbacks. > > Signed-off-by: Paul Cercueil > --- > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: Jernej Skrabec > Cc: Samuel Holland > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-sunxi@lists.linux.dev > --- > drivers/gpu/drm/sun4i/sun4i_drv.c | 24 ++---------------------- > 1 file changed, 2 insertions(+), 22 deletions(-) Reviewed-by: Samuel Holland