From 7aea87fb42c631de49291a8a623ab3eadbbdbd2a Mon Sep 17 00:00:00 2001 From: Sagar Kamble Date: Fri, 21 Feb 2020 15:50:15 +0530 Subject: [PATCH] gpu: nvgpu: fix syncpt_cmdbuf_gv11b_fusa.o build On Linux, syncpt_cmdbuf_gv11b_fusa.c was not being compiled under the config flag CONFIG_TEGRA_GK20A_NVHOST. Fix it. Bug 2834141 Change-Id: Ib87b019d27f22b534905787b54c807eb7e9e13b4 Signed-off-by: Sagar Kamble Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2300720 Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Debarshi Dutta Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index 87e40fc75..572048dfa 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile @@ -448,7 +448,8 @@ endif nvgpu-$(CONFIG_TEGRA_GK20A_NVHOST) += \ os/linux/nvhost.o \ hal/sync/syncpt_cmdbuf_gk20a.o \ - hal/sync/syncpt_cmdbuf_gv11b.o + hal/sync/syncpt_cmdbuf_gv11b.o \ + hal/sync/syncpt_cmdbuf_gv11b_fusa.o nvgpu-$(CONFIG_NVGPU_GR_VIRTUALIZATION) += \ os/linux/vgpu/platform_vgpu_tegra.o \ @@ -658,7 +659,6 @@ nvgpu-y += \ hal/priv_ring/priv_ring_gp10b_fusa.o \ hal/ptimer/ptimer_gk20a_fusa.o \ hal/ptimer/ptimer_gp10b.o \ - hal/sync/syncpt_cmdbuf_gv11b_fusa.o \ hal/therm/therm_gv11b_fusa.o \ hal/top/top_gm20b_fusa.o \ hal/top/top_gp10b_fusa.o \