]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add USBC PD FW load to PSP 11
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 19 Dec 2019 18:06:32 +0000 (13:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:33:16 +0000 (00:33 -0500)
commitb471968176e7057b6fd55d3c356562cf154ed2c1
treee0e6518e25eeb346ff6ef4d2a2bbe504365a392b
parent6c1a0770f4624557b572ffe14440aa1074493db5
drm/amdgpu: Add USBC PD FW load to PSP 11

Add the programming sequence.

v2:
Change donwload wait loop to more efficient.
Move C2PMSG_CMD_GFX_USB_PD_FW_VER defintion

v3: Fix lack of loop counter increment typo

v4: Remove superflous status reg read

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c