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: 6959881 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 190BFC05AD for ; Thu, 6 Aug 2015 14:25:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 427E120708 for ; Thu, 6 Aug 2015 14:25:28 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 71B5F20701 for ; Thu, 6 Aug 2015 14:25:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EDD5C6EBD5; Thu, 6 Aug 2015 07:25:24 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) by gabe.freedesktop.org (Postfix) with ESMTPS id 000D76EBCF for ; Thu, 6 Aug 2015 07:25:21 -0700 (PDT) Received: by ykcq64 with SMTP id q64so58592518ykc.2 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 Subject: [PATCH 02/12] drm/amd: remove amd gnb bus default runtime pm ops 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: Maruthi Srinivas Bayyavarapu , lgirdwood@gmail.com, perex@perex.cz X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.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