[PATCH 12/12] drm/amd: remove amd gnb bus default runtime pm ops

Alex Deucher alexdeucher at gmail.com
Thu Jul 9 09:21:11 PDT 2015


From: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu at amd.com>

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 <maruthi.bayyavarapu at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
---
 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
-- 
1.8.3.1



More information about the dri-devel mailing list