diff options
author | Pierre-Loup A. Griffais <git@plagman.net> | 2023-08-30 18:15:31 -0700 |
---|---|---|
committer | Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> | 2023-11-02 16:08:00 -0700 |
commit | da223ed961ec7c4b9670e1f7afe1ae75ebdd7edb (patch) | |
tree | a3a18a20ecf1d7f075c8e187c25aaf666604a0b2 /drivers | |
parent | 675d40bb34ab285033f19d11f8642c226031bbd2 (diff) | |
download | linux-da223ed961ec7c4b9670e1f7afe1ae75ebdd7edb.tar.gz |
"ungate_before_suspend_gfx.patch"
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 7a57a23efff0..8256f80d468d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -7180,8 +7180,11 @@ static int gfx_v10_0_hw_fini(void *handle) return 0; } +static int gfx_v10_0_set_powergating_state(void *handle, + enum amd_powergating_state state); static int gfx_v10_0_suspend(void *handle) { + gfx_v10_0_set_powergating_state(handle, AMD_CG_STATE_UNGATE); return gfx_v10_0_hw_fini(handle); } |