drm/amdgpu: add reset_method asic callback for soc15
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jul 2019 04:47:06 +0000 (23:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:24:13 +0000 (23:24 -0500)
commitee360c0b7cc3148ff8216286f53f8b3577b2b1a0
treeed7602314018207954fcb84c4debe3964c9281df
parent9bc1932f5ce5cb601278b8a37d36d7939f3e2482
drm/amdgpu: add reset_method asic callback for soc15

APUs only support mode2 reset.  dGPUs use either mode1 or
baco depending on various conditions.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c