This kernel extension to buffer creation allows userspace to select the PAT index to be used with the BO, which helps improve performance on MTL.
Also, thanks @currojerez and @kwg for helping track down a bug in the early version of the kernel patches!