]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move full access into amdgpu_device_ip_suspend
authorYintian Tao <yttao@amd.com>
Wed, 22 Aug 2018 09:08:13 +0000 (17:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Aug 2018 16:55:20 +0000 (11:55 -0500)
commitddadcb4fb00460644df5d250e3af95c86c031a46
tree509f65f3389f206ae4928a54a45435b7db7e2a06
parent2dbed84f83f980e9483e93ddbabe449ceac4e4cc
drm/amdgpu: move full access into amdgpu_device_ip_suspend

It will be more safe to make full-acess include both phase1 and phase2.
Then accessing special registeris wherever at phase1 or phase2 will not
block any shutdown and suspend process under virtualization.

Signed-off-by: Yintian Tao <yttao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c