Yes, the checks are taken from the existing SMU and PSP code.
Alex From: Kuehling, Felix
Sent: Tuesday, January 8, 2019 6:22:48 PM To: Alex Deucher; amd-gfx@xxxxxxxxxxxxxxxxxxxxx Cc: Deucher, Alexander Subject: Re: [PATCH 0/6] kexec fixes Thanks for this. I trust that your method for detecting that SMU or PSP
are running is correct. With that caveat the series is Reviewed-by: Felix Kuehling <Felix.Kuehling@xxxxxxx> Regards, Felix On 2019-01-08 5:11 p.m., Alex Deucher wrote: > Fixes for kexec. The GPU needs to be reset before the driver > can be loaded again reliably. Needed for kexec for booting some > ppc platforms. See: > https://bugs.freedesktop.org/show_bug.cgi?id=108585 > > Alex Deucher (6): > drm/amdgpu: add need_reset_on_init asic callback (v2) > drm/amdgpu/si: add need_reset_on_init asic callback for SI (v2) > drm/amdgpu/cik: add need_reset_on_init asic callback for CIK (v2) > drm/amdgpu/vi: add need_reset_on_init asic callback for VI (v2) > drm/amdgpu/soc15: add need_reset_on_init asic callback for SOC15 (v2) > drm/amdgpu: check if we need to reset at init time (v2) > > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +++ > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 11 +++++++++++ > drivers/gpu/drm/amd/amdgpu/cik.c | 18 ++++++++++++++++++ > drivers/gpu/drm/amd/amdgpu/si.c | 6 ++++++ > drivers/gpu/drm/amd/amdgpu/soc15.c | 20 ++++++++++++++++++++ > drivers/gpu/drm/amd/amdgpu/vi.c | 18 ++++++++++++++++++ > 6 files changed, 76 insertions(+) > |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx