• Oded Gabbay's avatar
    habanalabs: add gaudi2 wait-for-CS support · f73c6376
    Oded Gabbay authored
    In Gaudi2 we moved to a different wait for command submission
    completion model. Instead of receiving interrupt only on external
    queues, we use the device's sync manager to notify us when the
    entire command submission finishes.
    
    This enables us to remove the categorization of queues to external
    and internal, and treat each queue equally, without the need to parse
    and patch any command buffer.
    
    This change also requires refactoring to the IRQ handling of
    CS completions.
    Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
    f73c6376
command_submission.c 92.8 KB