Linux kernels >= 6.2 need drivers to either explicitly take the dma-buf-reservation lock themselves; or they need to call the _unlocked variant of various dmabuf functions to do this for them.
See upstream linux commit ae2e7f28a170c01f ("dma-buf: Document dynamic locking convention") for details.
Note this backtrace repeats many times and the driver does not work without this fix.
Before merging this #67 and #68 really should be merged, these are necessary to get the driver to build / work with 6.1 and thus are also necessary for using the driver with 6.2.
Cc: @mrhpearson, @vicamo
@hao-yao it would be nice if we can get all these fixes pull-reqs which make the driver work with newer kernels merged!
Linux kernels >= 6.2 need drivers to either explicitly take the dma-buf-reservation lock themselves; or they need to call the _unlocked variant of various dmabuf functions to do this for them.
See upstream linux commit ae2e7f28a170c01f ("dma-buf: Document dynamic locking convention") for details.
This fixes the following crashes with 6.2:
Note this backtrace repeats many times and the driver does not work without this fix.
Before merging this #67 and #68 really should be merged, these are necessary to get the driver to build / work with 6.1 and thus are also necessary for using the driver with 6.2.
Cc: @mrhpearson, @vicamo
@hao-yao it would be nice if we can get all these fixes pull-reqs which make the driver work with newer kernels merged!