mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Enable compression for k6.1
dmabuf internals that nvgpu relies upon for storing meta-data for compressible buffers changed in k6.2. Enable it for k6.1. Bug 3844023 Change-Id: Ief661b3739e987dc8f2fe13bb0efb02fa78dbacd Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2861335 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2cc098eae7
commit
a4eca46b4b
@@ -36,16 +36,18 @@ CONFIG_NVGPU_HAL_NON_FUSA := y
|
||||
# Support recovery on failure (which may involve engine reset)
|
||||
CONFIG_NVGPU_RECOVERY := y
|
||||
|
||||
# Enable support for compression on pre-K6.1 kernels. K6.1+ changes the
|
||||
# Enable support for compression on pre-K6.2 kernels. K6.2+ changes the
|
||||
# internals of dma-bufs which breaks some hacks we implemented to support
|
||||
# compression meta-data tracking. For now, on K6.1+ kernels, just disable
|
||||
# compression meta-data tracking. For now, on K6.2+ kernels, just disable
|
||||
# compression. This is a hack that should be fixed.
|
||||
CONFIG_NVGPU_COMPRESSION := y
|
||||
ifeq ($(VERSION),6)
|
||||
ifneq ($(PATCHLEVEL),0)
|
||||
ifneq ($(PATCHLEVEL),1)
|
||||
CONFIG_NVGPU_COMPRESSION := n
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Enable MIG Support
|
||||
CONFIG_NVGPU_MIG := y
|
||||
|
||||
Reference in New Issue
Block a user