OSDN Git Service

drm/amdgpu/soc15: add need_reset_on_init asic callback for SOC15 (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Nov 2018 05:00:57 +0000 (00:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:56 +0000 (15:04 -0500)
commit9281f12cabb09059ae60603e14cc9cd98b02febb
tree428af2b710a90b4de6faa6d80d52ef18bbbc82ad
parent762e6f3f200e0bd538b2d3fd0a4f4ff5a8d45460
drm/amdgpu/soc15: add need_reset_on_init asic callback for SOC15 (v2)

SOC15 chips require a reset if the driver was previously loaded
because the PSP can only be loaded once between each reset.

v2: rebase, handle multiple asic funcs

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/soc15.c