[2/2] drm/amdgpu: fix re-program vm invalidate eng address range for mmhub on resume

Submitted by Huang, Ray on May 17, 2017, 7:38 a.m.

Details

Message ID 1495006729-17310-2-git-send-email-ray.huang@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Huang, Ray May 17, 2017, 7:38 a.m.
Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
index dbfe48d..8979bc2 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
@@ -386,7 +386,7 @@  static int mmhub_v1_0_suspend(void *handle)
 
 static int mmhub_v1_0_resume(void *handle)
 {
-	return 0;
+	return mmhub_v1_0_hw_init(handle);
 }
 
 static bool mmhub_v1_0_is_idle(void *handle)