]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: remove a useless is_idle TPC flag
authorKoby Elbaz <kelbaz@habana.ai>
Sun, 26 Feb 2023 06:22:45 +0000 (08:22 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:15 +0000 (13:29 +0200)
commitf831aade13d7602b289595e59b6500c8b4b9eb6a
tree36d422dbc4272811c709bc9e3c72a7a65545621d
parent25ebbc57ca56df3cf9149e9da6b1d3169c8487db
accel/habanalabs: remove a useless is_idle TPC flag

Is appears that the flag -
DCORE0_TPC0_CFG_STATUS_VECTOR_PIPE_EMPTY_MASK, has no actual use when
it comes to querying TPC idleness, since this flag's corresponding bit
turns-off after stalling the engine, and turns back on after resuming
it.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2_masks.h