Here are some changes that are part of !21057 and have some value on their own and could be merged before the rest, at least IMHO. This rework makes the anv_execbuf layer a little more execbuffer-version-agnostic, pushing the execbuffer-version-dependent code to anv_gem_execbuffer(). The last patch changes how execbuf->objects is handled and may be a little more controversial, although I see it as a win.