Commit 0df3e67d authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amdgpu: add setting powergating method for gfx9

Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Acked-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 727b888f
...@@ -3355,6 +3355,11 @@ static int gfx_v9_0_late_init(void *handle) ...@@ -3355,6 +3355,11 @@ static int gfx_v9_0_late_init(void *handle)
if (r) if (r)
return r; return r;
r = amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_GFX,
AMD_PG_STATE_GATE);
if (r)
return r;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment