提交 af27c649 编写于 作者: A Alex Deucher

drm/amdgpu: drop extra runtime pm handling in resume pmop

The core handles this for us.
Acked-by: NEvan Quan <evan.quan@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 deff2b02
...@@ -1173,14 +1173,6 @@ static int amdgpu_pmops_suspend(struct device *dev) ...@@ -1173,14 +1173,6 @@ static int amdgpu_pmops_suspend(struct device *dev)
static int amdgpu_pmops_resume(struct device *dev) static int amdgpu_pmops_resume(struct device *dev)
{ {
struct drm_device *drm_dev = dev_get_drvdata(dev); struct drm_device *drm_dev = dev_get_drvdata(dev);
struct amdgpu_device *adev = drm_dev->dev_private;
/* GPU comes up enabled by the bios on resume */
if (adev->runpm) {
pm_runtime_disable(dev);
pm_runtime_set_active(dev);
pm_runtime_enable(dev);
}
return amdgpu_device_resume(drm_dev, true); return amdgpu_device_resume(drm_dev, true);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册