summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/nvgpu_mem.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/nvgpu_mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c b/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c
index 8f6bd66e..2326e0ae 100644
--- a/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c
+++ b/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2020, 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"),
@@ -31,7 +31,7 @@
31 * will not add any checks. If you want to simply use the default coherency then 31 * will not add any checks. If you want to simply use the default coherency then
32 * use nvgpu_aperture_mask(). 32 * use nvgpu_aperture_mask().
33 */ 33 */
34u32 nvgpu_aperture_mask_coh(struct gk20a *g, enum nvgpu_aperture aperture, 34u32 nvgpu_aperture_mask_raw(struct gk20a *g, enum nvgpu_aperture aperture,
35 u32 sysmem_mask, u32 sysmem_coh_mask, 35 u32 sysmem_mask, u32 sysmem_coh_mask,
36 u32 vidmem_mask) 36 u32 vidmem_mask)
37{ 37{
@@ -71,7 +71,7 @@ u32 nvgpu_aperture_mask(struct gk20a *g, struct nvgpu_mem *mem,
71 ap = APERTURE_SYSMEM_COH; 71 ap = APERTURE_SYSMEM_COH;
72 } 72 }
73 73
74 return nvgpu_aperture_mask_coh(g, ap, 74 return nvgpu_aperture_mask_raw(g, ap,
75 sysmem_mask, 75 sysmem_mask,
76 sysmem_coh_mask, 76 sysmem_coh_mask,
77 vidmem_mask); 77 vidmem_mask);