Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Jon Hunter 0fa5fc1583 gpu: nvgpu: Drop version check for DMA BUF namespace
The MODULE_IMPORT_NS macro adds a namespace tag to the module
information. The DMA_BUF namespace is required for Linux v5.16+ kernels
for drivers that use DMA BUF, there is no reason not to populate this
for earlier kernels. Furthermore, some 3rd party kernels prior to v5.16
may require this too and so drop the version check around the DMA BUF
namespace.

The MODULE_IMPORT_NS macro was introduced in Linux v5.4 and so if the
kernel defines this, then add the DMA_BUF namespace.

Bug 4119327

Change-Id: Ic9acfeedce3a783434fe9cc2ded788c522629bbd
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2986636
(cherry picked from commit fd8ed471078450172062ca2a11f13d99ad57e1cb)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2990695
Reviewed-by: Ankur Kishore <ankkishore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-04 05:49:26 -07:00
..
2020-12-15 14:13:28 -06:00
2019-02-01 09:45:57 -08:00
2023-03-14 04:50:18 -07:00
2021-08-11 01:55:08 -07:00
2022-06-06 05:55:26 -07:00
2023-04-10 20:45:50 -07:00
2022-09-27 23:25:55 -07:00