gallium: add a new query

to figure out if gpu is finished with all of the previously issues commands
2 files changed