From patchwork Thu Jul 9 16:21:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 6757411 Return-Path: X-Original-To: patchwork-dri-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 6A7239F536 for ; Thu, 9 Jul 2015 16:21:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 887EF206C7 for ; Thu, 9 Jul 2015 16:21:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0EDAD206B8 for ; Thu, 9 Jul 2015 16:21:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 177626ECE8; Thu, 9 Jul 2015 09:21:31 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by gabe.freedesktop.org (Postfix) with ESMTPS id D27416ECE4 for ; Thu, 9 Jul 2015 09:21:26 -0700 (PDT) Received: by qkcl188 with SMTP id l188so5959636qkc.1 for ; Thu, 09 Jul 2015 09:21:26 -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=I+czTRxh+1pFs1Be/E52xgm6BImBChRYmfym+7U3Con94tQf2trdXKuzCNTOdsyW0T YZtQYKm37uM8zj+YaXa2vRKCxAgBaBy1wQx6/aaKhZmCuEAWBVtLHNunOAs/YK/t5dHX wXSsvnkg7OpN8G3BTJHKfsAigg953lUSwcZiM367mxYF89nMr8QKpzWDRFt3lzsPOFBA SoLC9mExzbpN3U8mzerNg9LC/NnUlmTzHX7zXEzdCp9AItJNOnjBfqRUDDf833UjwyDc /yOu+zEcC9N/g6aUK1zzyqUAln049Kr8fMnnCZiJ4xDV+4CPhgNVEbEUUQbEEsh1G7/d 6+3g== X-Received: by 10.55.56.213 with SMTP id f204mr25256394qka.78.1436458886187; Thu, 09 Jul 2015 09:21:26 -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 z81sm3583711qkg.44.2015.07.09.09.21.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 09:21:25 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH 12/12] drm/amd: remove amd gnb bus default runtime pm ops Date: Thu, 9 Jul 2015 12:21:11 -0400 Message-Id: <1436458871-16358-12-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1436458871-16358-1-git-send-email-alexander.deucher@amd.com> References: <1436458871-16358-1-git-send-email-alexander.deucher@amd.com> Cc: Maruthi Bayyavarapu 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.4 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