GKI: Adapt to upstream dma-buf locking changes

The dma-buf locking convention has changed upstream [1] and this driver
is generating warnings because it has not yet been updated to take the
necessary locks.

[1] https://lore.kernel.org/all/20221017172229.42269-1-dmitry.osipenko@collabora.com/
Change-Id: I95f60757d9ff83a88ff5ecb67a5a9f7c7caf603b
Signed-off-by: T.J. Mercier <tjmercier@google.com>
[willmcvicker: adapt based on LINUX_VERSION_CODE]
Signed-off-by: Will McVicker <willmcvicker@google.com>
(cherry picked from commit 508a6ac20d3c0c12457734812dfa4be7f543ab4e)
1 file changed