summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
index 302f7287..c5e3e752 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
@@ -217,6 +217,9 @@ static inline const char *nvgpu_aperture_str(struct gk20a *g,
217 return "UNKNOWN"; 217 return "UNKNOWN";
218} 218}
219 219
220bool nvgpu_aperture_is_sysmem(enum nvgpu_aperture ap);
221bool nvgpu_mem_is_sysmem(struct nvgpu_mem *mem);
222
220/* 223/*
221 * Returns true if the passed nvgpu_mem has been allocated (i.e it's valid for 224 * Returns true if the passed nvgpu_mem has been allocated (i.e it's valid for
222 * subsequent use). 225 * subsequent use).