Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp309004pxm; Wed, 2 Mar 2022 16:02:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdNZT9LPla1V9kyAL/0XSj14VHMIlMLcyeZz785x9/rh+mr44f2Q2fW0tJlv6avpo26ze9 X-Received: by 2002:a05:6a00:a15:b0:4f6:5051:61ad with SMTP id p21-20020a056a000a1500b004f6505161admr5795757pfh.69.1646265740720; Wed, 02 Mar 2022 16:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646265740; cv=none; d=google.com; s=arc-20160816; b=jN2U3nbzzgeY8bp/XpXS4DJxWUY0rdPMwsdIE4D4VSPMFpCFlta6ugJQZl1W4yrDLF cd4uwtFPimP/w+i+gUyXwZEfdZ18mj4hGAkoQawTUmNi+RpAOOxLdwL1uml76ZGeQ4CX npjN4CcpvN/e4MqHVwTuZJ9IXCzHo84A/wDcdq18NYhz7e7FnL2hAemgxNLuxOCqTs9w XtOLBOdvsj+2ZbgYY8KCN998lhAwzY+NqHPBKSfVe8GMGezRULWU2zEAfZpbvCuDFRqX qfWGSM5GesXICWk7XMNStHYLslqVJ+9THyJXcOZetrW6BpcohBdbGlRvOIyN47cKuFYy wt6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=c9hoHnn0A93FOVAeAr9J0unTVFuAqhfUQlLF0/1ToiM=; b=h6or/9txvirHL+P5bf0+74oYJ+cizAjEbC7QNUGKLKtzy+PuMHrdci12yx3ucwgb5w qjS15BszeqVGmq5QpCz3Msk4PJ4aMS2aqypHu6pk3/RJwHVdNLdUsE37G6SqimPK9uoz yPk68O3Qgaej0mFHv3WNyfi9Yp0rlhTuHHZdyEiPRQ9UrjOSShYCbhBhGhPXHDWm39He hzjhqaoWGpHGRfDZlYf2F6OKYtfWCNKbMJS3U3/oD+z9WHlreu6Hn/L9UHjnjh+LORAR TEJGHUTBSbDAL6VWObsF+doLiXgmN79fP9e/XiDSjdDMOvISlL4VbLzbrnS77M3pQmUi vHiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=vBgdGsCs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b26-20020a63a11a000000b003789f08207dsi478614pgf.836.2022.03.02.16.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:02:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=vBgdGsCs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 48C231A1290; Wed, 2 Mar 2022 15:20:46 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243964AbiCBRaN (ORCPT + 99 others); Wed, 2 Mar 2022 12:30:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244001AbiCBR3s (ORCPT ); Wed, 2 Mar 2022 12:29:48 -0500 Received: from so254-9.mailgun.net (so254-9.mailgun.net [198.61.254.9]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id A3F98D3AC3 for ; Wed, 2 Mar 2022 09:28:36 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1646242116; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=c9hoHnn0A93FOVAeAr9J0unTVFuAqhfUQlLF0/1ToiM=; b=vBgdGsCsbBChZzksVN5yUrnXk1gXsEGyUuU8sQP6WNsji59XEBe7Xl0BGUJw517XuMeaIPol RFjwd+osKCXzWqwhAiuqPGpWt5kQYTJ/DfvARB4BOE9tnGMtiptn0t37bFMYYpGAAjwrPItH TboXlBMGPovN3VsOhLYt/10U820= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 621fa94433c4b4b7592f41c7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 02 Mar 2022 17:28:36 GMT Sender: quic_akhilpo=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id ED91FC4363B; Wed, 2 Mar 2022 17:28:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from hyd-lnxbld559.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akhilpo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 571CCC4361B; Wed, 2 Mar 2022 17:28:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 571CCC4361B Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=quicinc.com From: Akhil P Oommen To: freedreno , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Dmitry Baryshkov , Bjorn Andersson Cc: Abhinav Kumar , Dan Carpenter , Daniel Vetter , David Airlie , Jonathan Marek , Sean Paul , Yangtao Li , linux-kernel@vger.kernel.org Subject: [PATCH v1 08/10] drm/msm/a6xx: Remove clk votes on failure Date: Wed, 2 Mar 2022 22:57:34 +0530 Message-Id: <20220302225551.v1.8.I76112e86cf4b68452564f11f061d2f2928ab2458@changeid> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1646242056-2456-1-git-send-email-quic_akhilpo@quicinc.com> References: <1646242056-2456-1-git-send-email-quic_akhilpo@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove vote on clks on gpu resume failure. Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c index 66ae509..e90359f 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c @@ -1033,6 +1033,7 @@ int a6xx_gmu_resume(struct a6xx_gpu *a6xx_gpu) disable_irq(gmu->gmu_irq); a6xx_gmu_inline_coredump(gmu); a6xx_rpmh_stop(gmu); + clk_bulk_disable_unprepare(gmu->nr_clocks, gmu->clocks); pm_runtime_put(gmu->gxpd); pm_runtime_put(gmu->dev); } -- 2.7.4