drm/amd/pp: Fix unable to handle kernel paging request
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 21 Mar 2018 03:04:21 +0000 (11:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:45:10 +0000 (23:45 -0500)
when set pp table

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c

index dbb0e691bc89eb7cd1a0d8a13223dbc1dcf65db5..038131704d2478c8fd3a216124ede01c68dc26d6 100644 (file)
@@ -738,7 +738,7 @@ static int amd_powerplay_reset(void *handle)
        if (ret)
                return ret;
 
-       ret = pp_hw_fini(hwmgr);
+       ret = hwmgr_hw_fini(hwmgr);
        if (ret)
                return ret;