diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h index 3b45e1ced..245435f17 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h @@ -542,7 +542,9 @@ struct gk20a { */ u32 comptag_mem_deduct; +#ifdef CONFIG_NVGPU_COMPRESSION u32 max_comptag_mem; /* max memory size (MB) for comptag */ +#endif u32 ltc_streamid;