diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2018-09-04 08:09:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-18 02:39:24 -0400 |
commit | 2517d59be282426eec7a97745b76d745ff36c388 (patch) | |
tree | faf915b5cfffb781918d674ec7d769feb7e98ac8 /drivers/gpu/nvgpu/Makefile | |
parent | 8381eeea4f9b4717854387068ddf9244973e7d0d (diff) |
gpu: nvgpu: move channel_sync_gk20a.* to common directory
1) Move channel_sync_gk20a.* from gk20a/ to common/ directory as they
donot program any hardware registers. Also as an add-on rename
channel_sync_gk20a.* to channel_sync.* and update the headers
in required files.
2) Rename the struct gk20a_channel_sync to struct nvgpu_channel_sync. Also,
corresponding syncpt and semaphore versions of the struct alongwith
related methods are renamed by removing "gk20a" from their names and
adding "nvgpu".
3) Add misra-c cleanups
Jira NVGPU-1086
Change-Id: I4e0e21803ca3858dd7a5fc4d2454dba1f1bfcecd
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1812594
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index d0dd252e..d59c3f74 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile | |||
@@ -50,7 +50,8 @@ nvgpu-y += common/bus/bus_gk20a.o \ | |||
50 | common/mc/mc_gm20b.o \ | 50 | common/mc/mc_gm20b.o \ |
51 | common/mc/mc_gp10b.o \ | 51 | common/mc/mc_gp10b.o \ |
52 | common/mc/mc_gv11b.o \ | 52 | common/mc/mc_gv11b.o \ |
53 | common/mc/mc_gv100.o | 53 | common/mc/mc_gv100.o \ |
54 | common/sync/channel_sync.o | ||
54 | 55 | ||
55 | # Linux specific parts of nvgpu. | 56 | # Linux specific parts of nvgpu. |
56 | nvgpu-y += \ | 57 | nvgpu-y += \ |
@@ -228,7 +229,6 @@ nvgpu-y += \ | |||
228 | gk20a/gk20a.o \ | 229 | gk20a/gk20a.o \ |
229 | gk20a/ce2_gk20a.o \ | 230 | gk20a/ce2_gk20a.o \ |
230 | gk20a/fifo_gk20a.o \ | 231 | gk20a/fifo_gk20a.o \ |
231 | gk20a/channel_sync_gk20a.o \ | ||
232 | gk20a/dbg_gpu_gk20a.o \ | 232 | gk20a/dbg_gpu_gk20a.o \ |
233 | gk20a/regops_gk20a.o \ | 233 | gk20a/regops_gk20a.o \ |
234 | gk20a/gr_gk20a.o \ | 234 | gk20a/gr_gk20a.o \ |