From patchwork Thu Aug 6 14:25:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 6960171 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8A0C79F38B for ; Thu, 6 Aug 2015 14:27:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CCAA20688 for ; Thu, 6 Aug 2015 14:27:19 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5F42620274 for ; Thu, 6 Aug 2015 14:27:18 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 89B63260832; Thu, 6 Aug 2015 16:27:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 799C12605EA; Thu, 6 Aug 2015 16:25:34 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id A9F792605D9; Thu, 6 Aug 2015 16:25:32 +0200 (CEST) Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by alsa0.perex.cz (Postfix) with ESMTP id C67122604E5 for ; Thu, 6 Aug 2015 16:25:21 +0200 (CEST) Received: by ykax123 with SMTP id x123so63808108yka.1 for ; Thu, 06 Aug 2015 07:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rs1MhHeVvVxJhkrJgjpngyCCqkted94IE6RZ0wCITS0=; b=a9zeMEmRshb3e07HfyUIzenYcElJF3h0ESiVIDcj3RpbYtZJjmIYXSofLzrOpGecT4 9ukGfLtHuk823oqYW2A+mPqvfdmamUqhDtzna0yUJ2AOpDwSoDIXTeZ7xV0y2V1ffYUA EY/uaxE2vnmMyyEajH1gImli4m6YQxpk8Fc//x5RUj7NUkudGrrFuLc2FWFB1Rymb347 SkEIT2KIRe52mNMbwFg5kXK9fQqIMQpeYqp6FxoebLKQm8xqhDc/Yo/9kDnlx/zpvSJK At2ljm/RYHIeJ3AZ4p5g/kW6dK0+WDUJrSZA+jx4HopiIZgQQmiPeW5eCP7GRqWtq6WB irXw== X-Received: by 10.170.212.65 with SMTP id d62mr1940195ykf.115.1438871121252; Thu, 06 Aug 2015 07:25:21 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by smtp.gmail.com with ESMTPSA id k128sm6182789ywe.11.2015.08.06.07.25.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 07:25:20 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: broonie@kernel.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org Date: Thu, 6 Aug 2015 10:25:03 -0400 Message-Id: <1438871112-25946-3-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1438871112-25946-1-git-send-email-alexander.deucher@amd.com> References: <1438871112-25946-1-git-send-email-alexander.deucher@amd.com> Cc: tiwai@suse.de, Maruthi Srinivas Bayyavarapu , lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 02/12] drm/amd: remove amd gnb bus default runtime pm ops X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Maruthi Srinivas Bayyavarapu with the default gnb bus runtime pm ops, alsa pcm device attached to it is unable to get runtime suspended/resumed. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/bus/amd_gnb_bus.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/amd/bus/amd_gnb_bus.c b/drivers/gpu/drm/amd/bus/amd_gnb_bus.c index 071b16c..13d5506 100644 --- a/drivers/gpu/drm/amd/bus/amd_gnb_bus.c +++ b/drivers/gpu/drm/amd/bus/amd_gnb_bus.c @@ -142,11 +142,6 @@ static const struct dev_pm_ops amd_gnb_bus_device_pm_ops = { .thaw = amd_gnb_bus_device_pm_thaw, .poweroff = amd_gnb_bus_device_pm_poweroff, .restore = amd_gnb_bus_device_pm_restore, - SET_RUNTIME_PM_OPS( - pm_generic_runtime_suspend, - pm_generic_runtime_resume, - pm_runtime_idle - ) }; /* The bus should only be registered by the first amd_gnb, but further