drm/amdgpu: use spirom update wait_for helper for psp v14
authorLikun Gao <Likun.Gao@amd.com>
Tue, 13 Jun 2023 11:28:47 +0000 (19:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:16:07 +0000 (17:16 -0500)
commitf19cb916151d929db70e2ddc5929d713c1aff97e
tree5e624ede115432aed9852dfce2f426934a3be3bf
parentb7a9003445463bcd57850e8cd88aca0827e92837
drm/amdgpu: use spirom update wait_for helper for psp v14

Spirom update typically requires extremely long
duration for command execution, and special helper
function to wait for it's completion.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v14_0.c
drivers/gpu/drm/amd/amdgpu/psp_v14_0.h