daeb409559
The number of IBs per submit isn't infinite, it depends on the IP type (ie. some initial setup needed for a submit) and the packet size. It can be calculated according to the kernel source code as: (ring->max_dw - emit_frame_size) / emit_ib_size Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22354>