diff options
author | eggz | 2020-04-21 10:13:58 +0200 |
---|---|---|
committer | eggz | 2020-04-21 10:13:58 +0200 |
commit | 397c208b12c1fd308dca167b6db4b19a6bafc2cd (patch) | |
tree | 31674da85d0b6c8ec33b3295b20bf8d2cee72767 | |
parent | 8a5b3d9cb754c102d54c5f0c3d1508c94ef3b5a3 (diff) | |
download | aur-397c208b12c1fd308dca167b6db4b19a6bafc2cd.tar.gz |
clean it up
Signed-off-by: eggz <egnappah@gmail.com>
-rw-r--r-- | amdgpu_hwhang_reboot.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/amdgpu_hwhang_reboot.patch b/amdgpu_hwhang_reboot.patch deleted file mode 100644 index dc24eff4dd7c..000000000000 --- a/amdgpu_hwhang_reboot.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b2a7e9735ab2864330be9d00d7f38c961c28de5d Mon Sep 17 00:00:00 2001 -From: Prike Liang <Prike.Liang@amd.com> -Date: Mon, 13 Apr 2020 21:41:14 +0800 -Subject: drm/amdgpu: fix the hw hang during perform system reboot and reset - -The system reboot failed as some IP blocks enter power gate before perform -hw resource destory. Meanwhile use unify interface to set device CGPG to ungate -state can simplify the amdgpu poweroff or reset ungate guard. - -Fixes: 487eca11a321ef ("drm/amdgpu: fix gfx hang during suspend with video playback (v2)") -Signed-off-by: Prike Liang <Prike.Liang@amd.com> -Tested-by: Mengbing Wang <Mengbing.Wang@amd.com> -Tested-by: Paul Menzel <pmenzel@molgen.mpg.de> -Acked-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Cc: stable@vger.kernel.org ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index 7d35b0a366a2..f84f9e35a73b 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -@@ -2356,6 +2356,8 @@ static int amdgpu_device_ip_suspend_phase1(struct amdgpu_device *adev) - { - int i, r; - -+ amdgpu_device_set_pg_state(adev, AMD_PG_STATE_UNGATE); -+ amdgpu_device_set_cg_state(adev, AMD_CG_STATE_UNGATE); - - for (i = adev->num_ip_blocks - 1; i >= 0; i--) { - if (!adev->ip_blocks[i].status.valid) --- -cgit v1.2.1 |