Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2052400rwe; Fri, 2 Sep 2022 07:52:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR4I2e/zD/zI81sgWKOVnSEoNxYZ2m//ZsnAgjDyZdbKY4d5xhswNP7KeI9hNRxheILnXrob X-Received: by 2002:a17:90b:1b52:b0:1ff:f536:1f3c with SMTP id nv18-20020a17090b1b5200b001fff5361f3cmr4339973pjb.232.1662130367279; Fri, 02 Sep 2022 07:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662130367; cv=none; d=google.com; s=arc-20160816; b=0bQPAdGTbeTfLr8Rob/wfoS2W3imiZBfwe54Rq3f4OjSdRKiqImSI6Not1HVC6/wgt rCIrP9ePigQjMbHbM8cKVWxnyWXngS/SOa2cdrG0GlIo4RXnnMSiRnEMDyhhzFWPxVTs zNF8DEe6Cr1e6IfKiCd6thD9WSaf7+XlK+a4lRBAlOCgl3xXPoMZv47kRZsUxFd8qcRC G9fS4R5MQFclCRL/L3vssFL586NWTaFh712pZCl1eulOrAFRzDWX0TpMvgy6ZYM24UMS IE2DBzebfEVhU3MGeqt28Mih5rfJhpvF1nVSjPyjtMoskx3/sYZNE+fGDnPcQpMjYowm 4IWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JiGqe1UICKsKsdhAl7l4y4omjvI81V8jKoR+d8HunOg=; b=aH3nJeuXHzwTyUqLslYrRc8R3ogWBHmCSmHxHkPjWkA3/HT/lpFBsr3gYH/yXgeJvW VW0xIAjSHeUEFF+b5AWuyy3cjoa3tTKfYe9Mqoiw22VQvWp1tzvQFQEIKBJMGGFl8yGk CO6NZKR0QacbibVid+QjfSTmeDVzu1gBiRq/gN6eX4gYfNr4ntNNdg2xeKbWmik6x4Cn qgGSXhMqyn/RdRiSpgWoyLXbaFDM0qNHelJZwuOMkpxyCrVqEcA+rUHcXdLTCH1nFYUO 2DlEnY6w+AQpKSvyE3mXwWeOcPFJtexZXwmKOvoYeQ60KrpnC3OrL+WoGUTZWqxo8R1b ONug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fBFmHv7l; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a635355000000b0041c35254230si2015875pgl.452.2022.09.02.07.52.35; Fri, 02 Sep 2022 07:52:47 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=fBFmHv7l; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236413AbiIBOea (ORCPT + 99 others); Fri, 2 Sep 2022 10:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236415AbiIBOcr (ORCPT ); Fri, 2 Sep 2022 10:32:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E5F22872B; Fri, 2 Sep 2022 06:55:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 28B3BB829E8; Fri, 2 Sep 2022 12:35:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75B8BC433D7; Fri, 2 Sep 2022 12:35:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662122122; bh=Ul++956RcBlwJcymq9BPp+XQ1rEbqtuPDH8RzOvEIyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fBFmHv7lpsBh88vOe8DNw7cgHcqTLMEm6ELyaLetD4eZiZEa43jQeLnNuaQ1DrqYa P1/yAP9W/HRl5B/juiTC9xRPlbbC8pvY0xg3Rjv/wHOdv2OiGl388kFeEAB0cFZmsF rRgZ3A+sJipLJb0WKUqLGURrq+He2/+MvEez8B6g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Zimmermann , Stefan Wahren , Maxime Ripard , "Sudip Mukherjee (Codethink)" Subject: [PATCH 5.19 02/72] drm/vc4: hdmi: Depends on CONFIG_PM Date: Fri, 2 Sep 2022 14:18:38 +0200 Message-Id: <20220902121404.844834275@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121404.772492078@linuxfoundation.org> References: <20220902121404.772492078@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Maxime Ripard commit 72e2329e7c9bbe15e7a813670497ec9c6f919af3 upstream. We already depend on runtime PM to get the power domains and clocks for most of the devices supported by the vc4 driver, so let's just select it to make sure it's there. Link: https://lore.kernel.org/r/20220629123510.1915022-38-maxime@cerno.tech Acked-by: Thomas Zimmermann Tested-by: Stefan Wahren Signed-off-by: Maxime Ripard (cherry picked from commit f1bc386b319e93e56453ae27e9e83817bb1f6f95) Signed-off-by: Maxime Ripard Cc: "Sudip Mukherjee (Codethink)" Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/vc4/Kconfig | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/vc4/Kconfig +++ b/drivers/gpu/drm/vc4/Kconfig @@ -8,6 +8,7 @@ config DRM_VC4 depends on DRM depends on SND && SND_SOC depends on COMMON_CLK + depends on PM select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HELPER select DRM_KMS_HELPER --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -2875,7 +2875,7 @@ static int vc5_hdmi_init_resources(struc return 0; } -static int __maybe_unused vc4_hdmi_runtime_suspend(struct device *dev) +static int vc4_hdmi_runtime_suspend(struct device *dev) { struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev);