drm/amdgpu: use new asic need_full_reset callback
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Mar 2018 19:48:37 +0000 (14:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:59 +0000 (13:07 -0500)
commit8bc04c2965879c79bb84e3fc8410e6c90cecc96d
tree1ee31e6b75a189520d39bf27a687f5d5bd52e83e
parentadbd4f894f3615f04a4c0cfb931ed647c0280a5f
drm/amdgpu: use new asic need_full_reset callback

Use the new callback to determine whether to use full
asic reset or per IP soft reset.  Enables reset to
actually proceed on asics which don't support soft
reset yet.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c