OSDN Git Service

drm/amdgpu: add need_reset_on_init asic callback (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Nov 2018 04:54:27 +0000 (23:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:55 +0000 (15:04 -0500)
commit444018893abfde1df86be9d4be3e0c84832397dd
treeadf9f797f448924746ef0ba6a4eaad7cc24f0a2b
parentd0948af7f6aaf05e3228063b26f696dedf2685df
drm/amdgpu: add need_reset_on_init asic callback (v2)

Used to determine if we need to reset the asic on init due
to the driver having been previously loaded or not shutdown
cleanly.  E.g., kexec or VM passthrough.

v2: rebase

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