]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: Add support for USBC PD FW download
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 19 Dec 2019 19:58:18 +0000 (14:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:33:24 +0000 (00:33 -0500)
commit57430471e2fa60a412e220fa3014567e792aaa6f
treecaa3400f0398b611497792279b76de1e9b6e53d9
parent0dc93fd117405c2e87d314b1b7b7a3fac8898eaa
drm/amdgpu: Add support for USBC PD FW download

Starts USBC PD FW download and reads back the latest FW version.

v2:
Move sysfs file creation to late init
Add locking around PSP calls to avoid concurrent access to PSP's C2P registers

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/amdgpu_psp.c