summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
diff options
context:
space:
mode:
authorDidi Freiman <dfreiman@habana.ai>2024-05-07 13:47:12 +0300
committerOfir Bitton <obitton@habana.ai>2024-06-23 09:53:33 +0300
commit9dec27bb8ae4e0792c3a4cb8504bce8931676fb1 (patch)
tree9e404499e324f7bf90a3616bf8beaf7ca70b1dc2 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
parent0199e6392e067299ece25863abd7453e4823f13b (diff)
accel/habanalabs: gradual sleep in polling memory macro
It’s better to avoid long sleeps right from the beginning of the polling since the data may be available much sooner than the sleep period. Because polling host memory is inexpensive, this change gradually increases the sleep time up to the user-requested period. Signed-off-by: Didi Freiman <dfreiman@habana.ai> Reviewed-by: Ofir Bitton <obitton@habana.ai> Signed-off-by: Ofir Bitton <obitton@habana.ai>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions