drm/amdgpu: add pre_soft_reset ip func
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 18 Jul 2016 02:04:34 +0000 (10:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:02 +0000 (11:32 -0400)
commitd31a501ead7fb21b85c6f34a9dd79b07c6417711
tree7b27a481c2959a9501559d6442007c81ac407454
parent3d7c63849072747eaba6b5d35671bd9cd2d002c1
drm/amdgpu: add pre_soft_reset ip func

It will be used before soft_reset to do some preparing work for reset.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/include/amd_shared.h