diff options
author | Farah Kassabri <fkassabri@habana.ai> | 2024-04-04 11:06:03 +0300 |
---|---|---|
committer | Ofir Bitton <obitton@habana.ai> | 2024-06-23 09:53:04 +0300 |
commit | 52fbab90edb7cd29490422f2073e0f8a560eb150 (patch) | |
tree | 97120dd2eac7a3e51c7c2563a03ab238c18d1f02 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 3309887c6ff8ca2ac05a74e1ee5d1c44829f63f2 (diff) | |
download | linux-52fbab90edb7cd29490422f2073e0f8a560eb150.tar.xz |
accel/habanalabs: change the heartbeat scheduling point
Currently we schedule the heartbeat thread at late init, only then
we set the INTS_REGISTER packet which enables events to be received
from firmware.
Init may take some time and we want to give firmware 2 full cycles of
heartbeat thread after it received INTS_REGISTER.
The patch will move the heartbeat thread scheduling to be after driver
is done with all initializations.
Signed-off-by: Farah Kassabri <fkassabri@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/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions