Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp116707pxp; Fri, 11 Mar 2022 00:12:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3FwySGUDTFP+t8gRj8c5NkFX/raMHt3hHChQygNV517av+wZ7qQPHiyH2nMYxLxvV+/Qv X-Received: by 2002:a17:907:d04:b0:6db:56be:ef8 with SMTP id gn4-20020a1709070d0400b006db56be0ef8mr7992911ejc.188.1646986325691; Fri, 11 Mar 2022 00:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646986325; cv=none; d=google.com; s=arc-20160816; b=kEMF1ReHC1rIYHVKhF/UpMT1/fFEyZiKC8dLv+ZL56HoiajpM6wyRCcYbcMKAPPtbQ v8PTrn7CWRkMQF5AslKWFPkCqx8eEgiQNCstNriNs79Tyju0xXso9Irqn3dVIb7G1Fbj XFIGPSfiVvsTx7mExC108+OYIfg0Oyl0nGpoiUSMqsvISn8nlhFNpBsbYkju6u/O9Cw4 PMGBY0C4r9r7H999qCnj7/mT/Z8DMkSQTEIHA89XMLI7hpur9M2mq5+butPKnEFD7OZH HzTPwevRSFDR8pLccjV9dnNLgNL/NdW2sxchQUuiP93UN9V+MZFem9yzSfgbfh6en3Um QvDw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OXegA51qD+CyYO9M7fSmY5tcIBfLmUdoHlbWl+RWLYA=; b=DBBh2Vw2BiGFJLnQDN1dA+WvIcIJM+SKBhfWbTJtJBslqUowkhF7kon1VIVDFL0cyu sd3MaPARS3RWQQ04HBV8v0SOA/kPi2yfuhdUqoV7/SphoEl0+NoCXwvMbdwcDizHr/47 pSvcmyoYl/2UD9mr033csIjJGwiiFI2eXYJGSW0CaOFxwF7mxgNyu4+bvtwMBHGs2iMD L5/FWvciVTq0L+edCcG3FFP5jfiTUkHP2oBkkXN5PcdhYceoLx1HAnQ16zoatvGRvRev IeKozCg66i1lxmeP2sgEE6kX7pHxH6HPLnB391JHIrdEmVTaBAXFAXgltaS/sfbekew3 4AHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Uya5BbF/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt13-20020a170907728d00b006db2600ed06si5318783ejc.15.2022.03.11.00.11.39; Fri, 11 Mar 2022 00:12:05 -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=@gmail.com header.s=20210112 header.b="Uya5BbF/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344794AbiCJXqk (ORCPT + 99 others); Thu, 10 Mar 2022 18:46:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344551AbiCJXqh (ORCPT ); Thu, 10 Mar 2022 18:46:37 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06E6119E00A; Thu, 10 Mar 2022 15:45:36 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id z12-20020a17090ad78c00b001bf022b69d6so6660434pju.2; Thu, 10 Mar 2022 15:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OXegA51qD+CyYO9M7fSmY5tcIBfLmUdoHlbWl+RWLYA=; b=Uya5BbF/Dea3p/slOxGOh0T5z35dl1DZwLwD64KB0b7uIeODxa63MztEUsLQQTBK5d D+RjR/B/DCsuUXe5VTqlL/sVZ3iPPAX+wmHNi4zmP0hvbQTRdsGTuBd7ORxEdJMxQFeg f1xCP90/4jcWi0d1L6liTOs8x1pwQLwnFecjcadNtFhxQA3ZKwLSWrUu/BOxU9K6a3IA iIADELN9Zu4tKQm0yfuEuHJKcQTydAKZJJMSbstWPtbiAgwGHFuqDWEF4jWAYDsCX00/ F58vxhlnFriX7g9PPn/gcLj609Pg+h+n3ssPGc2FC26qCmURAEBWNMbfrkTooHiy+UVs /neA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OXegA51qD+CyYO9M7fSmY5tcIBfLmUdoHlbWl+RWLYA=; b=hZmhq0fztMAJugpCtlZupoZ78a6pJxz7fehiHl4rlw5rr5fonC3p3GkqqHIXDlhDON 4pRrnBNQzzVitoDDgnQ4HAyOX+B+tlp7KKKM9QXpTP41mmf/Ps+P9MoYS0bpReSE7B21 RSP/Tgrvm3d61JZd79Df3hbUoIuGhTn6+uTWBeYJi8NUWKl8VPxUWn28eKeVPz85KJfW KODOqfxqipNq/+chRIfsN0J1VALzeijRSeN0uyfKfOi5wl3wEuokICnfa9xEy76znqd7 gjcy+YQY30FUTj6Xg+b5i089bSa2lga7nVw7Lhg4ixtM3AlBaz4AItyWQENHSNTYf30o FFbQ== X-Gm-Message-State: AOAM533ofemZxKV7376MlXF879vIDdIosM3YHYTo/C2Qv7pRzxR592NT shMYPWfp152tsr9Y+ElkSxM= X-Received: by 2002:a17:90b:4b47:b0:1be:fccf:d1a8 with SMTP id mi7-20020a17090b4b4700b001befccfd1a8mr7586614pjb.33.1646955935191; Thu, 10 Mar 2022 15:45:35 -0800 (PST) Received: from localhost ([2601:1c0:5200:a6:307:a401:7b76:c6e5]) by smtp.gmail.com with ESMTPSA id p125-20020a622983000000b004f6c5d58225sm8252049pfp.90.2022.03.10.15.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 15:45:34 -0800 (PST) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Rob Clark , Sean Paul , Abhinav Kumar , David Airlie , Daniel Vetter , Akhil P Oommen , AngeloGioacchino Del Regno , Bjorn Andersson , Jonathan Marek , Vladimir Lypak , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/3] drm/msm/gpu: Rename runtime suspend/resume functions Date: Thu, 10 Mar 2022 15:46:04 -0800 Message-Id: <20220310234611.424743-2-robdclark@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310234611.424743-1-robdclark@gmail.com> References: <20220310234611.424743-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c index 89cfd84760d7..8859834b51b8 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_device.c +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c @@ -600,7 +600,7 @@ static const struct of_device_id dt_match[] = { }; #ifdef CONFIG_PM -static int adreno_resume(struct device *dev) +static int adreno_runtime_resume(struct device *dev) { struct msm_gpu *gpu = dev_to_gpu(dev); @@ -616,7 +616,7 @@ static int active_submits(struct msm_gpu *gpu) return active_submits; } -static int adreno_suspend(struct device *dev) +static int adreno_runtime_suspend(struct device *dev) { struct msm_gpu *gpu = dev_to_gpu(dev); int remaining; @@ -635,7 +635,7 @@ static int adreno_suspend(struct device *dev) static const struct dev_pm_ops adreno_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) - SET_RUNTIME_PM_OPS(adreno_suspend, adreno_resume, NULL) + SET_RUNTIME_PM_OPS(adreno_runtime_suspend, adreno_runtime_resume, NULL) }; static struct platform_driver adreno_driver = { -- 2.35.1