mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
All drivers that use dma-bufs have been moved to the updated locking specification wherein dma-buf reservation is to be locked while accessing the dmabuf internal data. Lock is removed. So lock the resv object onwards while updating dmabuf private data used for compression and buffer metadata. With this, we can enable compression for all kernel versions that was disabled earlier for v6.2+ kernels. Bug 3974855 Bug 3995618 Change-Id: Iece3ab57912d0420d4bc5c07d2c0d2e03ff19292 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2877633 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>