diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/gmmu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index 1455822c..53ec3029 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -700,9 +700,7 @@ u64 gk20a_locked_gmmu_map(struct vm_gk20a *vm, | |||
700 | if (attrs.ctag) | 700 | if (attrs.ctag) |
701 | attrs.ctag += buffer_offset & (ctag_granularity - 1U); | 701 | attrs.ctag += buffer_offset & (ctag_granularity - 1U); |
702 | 702 | ||
703 | #ifdef CONFIG_TEGRA_19x_GPU | 703 | attrs.l3_alloc = (bool)(flags & NVGPU_VM_MAP_L3_ALLOC); |
704 | nvgpu_gmmu_add_t19x_attrs(&attrs, flags); | ||
705 | #endif | ||
706 | 704 | ||
707 | /* | 705 | /* |
708 | * Only allocate a new GPU VA range if we haven't already been passed a | 706 | * Only allocate a new GPU VA range if we haven't already been passed a |