Andrey Grodzovsky 90f88cdd7c drm/amdgpu: Fix GPU reset error.
Problem:
During GU reset PSP's sysfs was being wrongly reinitilized
during call to amdgpu_device_ip_late_init which was failing
with duplicate error.
Fix:
Move psp_sysfs_init to psp_sw_init to avoid this. Add guards
in sysfs file's read and write hook agains premature call
if PSP is not finished initialization.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-06 14:32:24 -05:00
..
2020-03-06 14:32:24 -05:00
2020-01-20 11:42:57 +10:00
2020-01-30 08:04:01 -08:00
2020-02-17 10:34:34 +01:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-02-07 12:22:30 +10:00
2020-02-21 05:44:40 +10:00
2019-12-18 16:09:12 -05:00
2020-02-21 05:44:40 +10:00
2020-02-17 10:34:34 +01:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-02-17 10:34:34 +01:00
2020-01-14 16:22:17 -05:00
2019-12-17 13:57:54 +01:00
2019-07-22 21:24:10 +02:00
2020-01-14 16:22:17 -05:00