mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Allow compression on 64k pages
Allow compression always when page size matches the big page size for the context. Bug 1558739 Change-Id: I27b0aed06c24d69bd1555626b9affb1149536615 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/590422
This commit is contained in:
committed by
Dan Willemsen
parent
abfc843557
commit
4f6dddcf78
@@ -1007,7 +1007,7 @@ static int setup_buffer_kind_and_compression(struct vm_gk20a *vm,
|
||||
}
|
||||
/* comptags only supported for suitable kinds, 128KB pagesize */
|
||||
if (unlikely(kind_compressible &&
|
||||
(vm->gmmu_page_sizes[pgsz_idx] != 128*1024))) {
|
||||
(vm->gmmu_page_sizes[pgsz_idx] != vm->big_page_size))) {
|
||||
/*
|
||||
gk20a_warn(d, "comptags specified"
|
||||
" but pagesize being used doesn't support it");*/
|
||||
|
||||
Reference in New Issue
Block a user