summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-07-03 07:10:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-07 10:05:39 -0400
commitafa31cdd8cc6bb04faeed30b2cc30f5e6be888b5 (patch)
tree6cc8c7c48bb86c77dc2b1bc6a59af0ca1cabbb7f /drivers/gpu/nvgpu/Makefile
parentcca0510e477944e8781184592a95debd7742262d (diff)
gpu: nvgpu: add support for L3 cache allocation of buffers
Add gv11b implementation of gpu_phys_addr() that checks the t19x GMMU attributes struct to determine if L3 allocation should be enabled. If L3 alloc is enabled then a special physical address bit is set. Add flag NVGPU_AS_MAP_BUFFER_FLAGS_L3_ALLOC to struct nvgpu_as_map_buffer_ex_args so that User space can add a hint to allocate buffer in L3 cache Jira GPUT19X-10 Bug 200279508 Change-Id: I1bb9876a670b252980922aa50e3e69b802be137f Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master/r/1512602 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r--drivers/gpu/nvgpu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 33391a80..6fdabe62 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -1,6 +1,7 @@
1nvgpu-t19x := ../../../../nvgpu-t19x/drivers/gpu/nvgpu 1nvgpu-t19x := ../../../../nvgpu-t19x/drivers/gpu/nvgpu
2 2
3nvgpu-y += \ 3nvgpu-y += \
4 $(nvgpu-t19x)/common/mm/gmmu_t19x.o \
4 $(nvgpu-t19x)/common/linux/ioctl_tsg_t19x.o \ 5 $(nvgpu-t19x)/common/linux/ioctl_tsg_t19x.o \
5 $(nvgpu-t19x)/gv11b/gv11b.o \ 6 $(nvgpu-t19x)/gv11b/gv11b.o \
6 $(nvgpu-t19x)/gv11b/bus_gv11b.o \ 7 $(nvgpu-t19x)/gv11b/bus_gv11b.o \