OSDN Git Service

drm/amdgpu/psp: make get_fw_type and prep_cmd_buf to be common interfaces
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 3 Jan 2019 13:38:41 +0000 (21:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:51 +0000 (15:04 -0500)
commitbe4630d96258781d72201af525a34c2509a6f3a0
treedfa5a774ce2b4744a7c6f04c4686b35cf810ed37
parent0db2a8cd6259deffc46208278958d4c2afec608d
drm/amdgpu/psp: make get_fw_type and prep_cmd_buf to be common interfaces

get_fw_type and prep_cmd_buf should be common interface
instead of IP specific ones

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c