aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <[email protected]>2015-10-21 15:13:21 -0500
committerJames Bottomley <[email protected]>2015-10-30 17:10:38 +0900
commit018d1dc9558e748e271cd1600c698f68cba3fb09 (patch)
tree7e3a85a14b1a516620e222bd13a3e44d24408049 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent4392ba49eb248868afb412ea147ab16e2e606d66 (diff)
cxlflash: Fix to avoid stall while waiting on TMF
Borrowing the TMF waitq's spinlock causes a stall condition when waiting for the TMF to complete. To remedy, introduce our own spin lock to serialize TMF and use the appropriate wait services. Also add a timeout while waiting for a TMF completion. When a TMF times out, report back a failure such that a bigger hammer reset can occur. Signed-off-by: Matthew R. Ochs <[email protected]> Signed-off-by: Manoj N. Kumar <[email protected]> Reviewed-by: Brian King <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions