drm/amdgpu/psp: add helper function to invoke xgmi ta per ta cmd_id
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 28 Sep 2018 07:01:57 +0000 (15:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Nov 2018 19:02:42 +0000 (14:02 -0500)
commitca6e1e59a24bf4aed4d017163f8184eb4e384a9b
treec4b3fc97347cf37bae03cb8f61bd338d2bd4fbb4
parent4de5f0055adf1ed45c81596afad1a41294af9e87
drm/amdgpu/psp: add helper function to invoke xgmi ta per ta cmd_id

psp_xgmi_invoke is the helper function to issue ta cmd to firmware

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h