diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/semaphore.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/semaphore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/semaphore.c b/drivers/gpu/nvgpu/common/semaphore.c index e4099bd1..ff86ada9 100644 --- a/drivers/gpu/nvgpu/common/semaphore.c +++ b/drivers/gpu/nvgpu/common/semaphore.c | |||
@@ -49,7 +49,7 @@ static int __nvgpu_semaphore_sea_grow(struct nvgpu_semaphore_sea *sea) | |||
49 | 49 | ||
50 | __lock_sema_sea(sea); | 50 | __lock_sema_sea(sea); |
51 | 51 | ||
52 | ret = gk20a_gmmu_alloc_attr_sys(gk20a, DMA_ATTR_NO_KERNEL_MAPPING, | 52 | ret = gk20a_gmmu_alloc_flags_sys(gk20a, NVGPU_DMA_NO_KERNEL_MAPPING, |
53 | PAGE_SIZE * SEMAPHORE_POOL_COUNT, | 53 | PAGE_SIZE * SEMAPHORE_POOL_COUNT, |
54 | &sea->sea_mem); | 54 | &sea->sea_mem); |
55 | if (ret) | 55 | if (ret) |