diff --git a/drivers/gpu/nvgpu/Makefile.linux.configs b/drivers/gpu/nvgpu/Makefile.linux.configs index 239c03c9a..6c377efff 100644 --- a/drivers/gpu/nvgpu/Makefile.linux.configs +++ b/drivers/gpu/nvgpu/Makefile.linux.configs @@ -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