Skip to content

Commit

Permalink
Bring in common data_dev code to data_gpu
Browse files Browse the repository at this point in the history
This also has the effect of unifying some of the error handling and
logic that had diverged between the drivers. Namely in DataGpu_Init,
where some return value checking was not being done.
  • Loading branch information
JJL772 committed May 6, 2024
1 parent 9ab87e4 commit b69e5b5
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 259 deletions.
2 changes: 1 addition & 1 deletion data_gpu/driver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ccflags-y += -DDMA_IN_KERNEL=1 -DGITV=\"$(GITV)\"
ccflags-y += -I$(NVIDIA_DRIVERS)/nvidia

# Object files for the module.
$(NAME)-objs := src/dma_buffer.o src/dma_common.o
$(NAME)-objs := src/dma_buffer.o src/dma_common.o src/data_dev_common.o
$(NAME)-objs += src/axi_version.o src/axis_gen2.o src/gpu_async.o src/data_gpu_top.o

# Module target.
Expand Down
1 change: 1 addition & 0 deletions data_gpu/driver/src/data_dev_common.c
1 change: 1 addition & 0 deletions data_gpu/driver/src/data_dev_common.h
Loading

0 comments on commit b69e5b5

Please sign in to comment.