From 70e69e2686527990865b221a60e0ec1e9a53d316 Mon Sep 17 00:00:00 2001 From: Debarshi Dutta Date: Mon, 23 Apr 2018 17:26:51 +0530 Subject: gpu: nvgpu: adapt gk20a_channel_syncpt to use os_fence This patch adapts gk20a_channel_syncpt to use os_fence for post fence as well as pre-fence(wait) use cases. Jira NVGPU-66 Change-Id: I49627d1f88d52a53511a02f5de60fed6df8350de Signed-off-by: Debarshi Dutta Reviewed-on: https://git-master.nvidia.com/r/1676631 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/Makefile') diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index 9a46f12c..5af7de35 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile @@ -164,6 +164,10 @@ nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o \ common/linux/os_fence_android.o \ common/linux/os_fence_android_sema.o +ifeq ($(CONFIG_TEGRA_GK20A_NVHOST), y) +nvgpu-$(CONFIG_SYNC) += common/linux/os_fence_android_syncpt.o +endif + nvgpu-$(CONFIG_GK20A_PCI) += common/linux/pci.o \ common/linux/pci_usermode.o \ -- cgit v1.2.2