Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux/module.c
Sagar Kamble c695a0c459 gpu: nvgpu: enable CONFIG_NVGPU_VPR for all kernels
VPR functionality is split up as static VPR and VPR resize. Static VPR
is supported on all kernels. VPR resize is enabled only on 4.9 kernel.

Enable CONFIG_NVGPU_VPR unconditionally in Linux Makefile. Compile
VPR resize related functionality in nvgpu under the check for
Linux kernel version using new define NVGPU_VPR_RESIZE_SUPPORTED.

JIRA LS-458
Bug 200754700

Change-Id: I8370fb3bc7fb776598108942ecd4ae47c8c98741
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2647619
(cherry picked from commit a2f4fdf190)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2652879
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
2022-01-11 21:15:24 -08:00

44 KiB