drm/amdgpu: remove fulll access for suspend phase1
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove fulll access for suspend phase1
There is no need for gpu full access for suspend phase1 because under virtualization there is no hw register access for dce block.
Change-Id Ie1154e2065182ba968732af87f866f11141a102b
Signed-off-by Yintian Tao <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -6
@@ -1968,9 +1968,6 @@ static int amdgpu_device_ip_suspend_phase1(struct amdgpu_device *adev) {int i, r; -if (amdgpu_sriov_vf (adev)) -amdgpu_virt_request_full_gpu (adev, false); -for (i = adev->num_ip_blocks -1 ; i >=0 ; i--) {if (!adev->ip_blocks[i].status.valid)continue ;
@@ -1995,9 +1992,6 @@ static int amdgpu_device_ip_suspend_phase1(struct amdgpu_device *adev) } } -if (amdgpu_sriov_vf (adev)) -amdgpu_virt_release_full_gpu (adev, false); -return 0 ; }
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1534407847-10294-1-git-send-email-yttao-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Acked-byQuoted 7 lines · Yintian Tao
There is no need for gpu full access for suspend phase1 because under virtualization there is no hw register access for dce block.
Change-Id Ie1154e2065182ba968732af87f866f11141a102bSigned-off-by Yintian Tao <[email protected]>
Acked-by Alex Deucher <[email protected]>
Quoted 31 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 ------ 1 file changed, 6 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-7@@ -1968,9 +1968,6 @@ static int amdgpu_device_ip_suspend_phase1(struct amdgpu_device *adev) {int i, r; -if (amdgpu_sriov_vf (adev)) -amdgpu_virt_request_full_gpu (adev, false); -for (i = adev->num_ip_blocks -1 ; i >=0 ; i--) {if (!adev->ip_blocks[i].status.valid)continue ;@@ -1995,9 +1992,6 @@ static int amdgpu_device_ip_suspend_phase1(struct amdgpu_device *adev) } } -if (amdgpu_sriov_vf (adev)) -amdgpu_virt_release_full_gpu (adev, false); -return 0 ; } --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx