drm/amdgpu: load np fw prior before loading the TAs
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 2 Dec 2019 05:44:38 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2019 16:08:10 +0000 (11:08 -0500)
commit7091b60cadae8353866084f3d2d61affa66f6473
tree4bf9d50e4e7cddb74c4aa3e4a2385474ddeb6b08
parent71e5f0cb936526d4f84a1353e8174a45eeab747b
drm/amdgpu: load np fw prior before loading the TAs

Platform TAs will independently toggle DF Cstate.
for instance, get/set topology from xgmi ta. do error
injection from ras ta. In such case, PMFW needs to be
loaded before TAs so that all the subsequent Cstate
calls recieved by PSP FW can be routed to PMFW.

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