From 94eebcdd8cacc9a2dc20485e0d3d15fc51507c2c Mon Sep 17 00:00:00 2001 From: Nitin Kumbhar Date: Fri, 10 Aug 2018 10:34:17 +0530 Subject: gpu: nvgpu: linux: move os ops to a common file Currently only cde uses nvgpu_os_linux_ops to set up linux specific ops. Move nvgpu_os_linux_ops of a gpu to a common file so that those can be reused for other os ops of that gpu. JIRA NVGPU-603 Change-Id: Icf1ff275d3832229137f730fe8183b8015e82673 Signed-off-by: Nitin Kumbhar Reviewed-on: https://git-master.nvidia.com/r/1797902 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/Makefile') diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index a6f0f0ce..06762586 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile @@ -49,6 +49,9 @@ nvgpu-y += common/bus/bus_gk20a.o \ # Linux specific parts of nvgpu. nvgpu-y += \ + os/linux/os_ops.o \ + os/linux/os_ops_gm20b.o \ + os/linux/os_ops_gp10b.o \ os/linux/kmem.o \ os/linux/timers.o \ os/linux/ioctl.o \ -- cgit v1.2.2