diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-11-11 17:35:54 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-05 19:16:16 -0500 |
commit | d8fd0e64678997b535c3208ce8cc081b1cac7fa9 (patch) | |
tree | 25b93f0c10de6bfe2450b9e189bb4ee5bff28182 /drivers/gpu/nvgpu/Makefile.nvgpu | |
parent | 37d4b649d43e1024859d56becfaaa25a0a41868c (diff) |
gpu: nvgpu: Add timeout API
Add a timeout API to nvgpu since this is a common operation done all
across the nvgpu driver.
Also add two new directories for this common code:
drivers/gpu/nvgpu/common
drivers/gpu/nvgpu/include/nvgpu
The common directory is for common C code. The include directory is for
common include files.
Bug 1799159
Change-Id: I8b710eecaa75c0707df83f859fb28484525185a6
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1255864
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.nvgpu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu index 96cdfb0a..71077386 100644 --- a/drivers/gpu/nvgpu/Makefile.nvgpu +++ b/drivers/gpu/nvgpu/Makefile.nvgpu | |||
@@ -1,10 +1,11 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | 2 | ||
3 | ccflags-y += -Idrivers/gpu/nvgpu | 3 | ccflags-y += -Idrivers/gpu/nvgpu/include |
4 | ccflags-y += -Idrivers/video/tegra/host | 4 | ccflags-y += -Idrivers/video/tegra/host |
5 | ccflags-y += -Idrivers/devfreq | 5 | ccflags-y += -Idrivers/devfreq |
6 | ccflags-y += -I../nvgpu/include | 6 | ccflags-y += -I../nvgpu/include |
7 | ccflags-y += -I../nvgpu/include/uapi | 7 | ccflags-y += -I../nvgpu/include/uapi |
8 | ccflags-y += -I../nvgpu/drivers/gpu/nvgpu/include | ||
8 | ccflags-y += -Wno-multichar | 9 | ccflags-y += -Wno-multichar |
9 | ccflags-y += -Werror | 10 | ccflags-y += -Werror |
10 | ccflags-y += -Wno-error=cpp | 11 | ccflags-y += -Wno-error=cpp |
@@ -25,8 +26,9 @@ endif | |||
25 | obj-$(CONFIG_GK20A) := nvgpu.o | 26 | obj-$(CONFIG_GK20A) := nvgpu.o |
26 | 27 | ||
27 | nvgpu-y := \ | 28 | nvgpu-y := \ |
28 | gk20a/gk20a.o \ | 29 | common/linux/timers.o \ |
29 | nvgpu_common.o \ | 30 | nvgpu_common.o \ |
31 | gk20a/gk20a.o \ | ||
30 | gk20a/sched_gk20a.o \ | 32 | gk20a/sched_gk20a.o \ |
31 | gk20a/as_gk20a.o \ | 33 | gk20a/as_gk20a.o \ |
32 | gk20a/ctrl_gk20a.o \ | 34 | gk20a/ctrl_gk20a.o \ |