From 31e594befefe63d430885e340175b3f9549b8cc4 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 31 Oct 2017 12:21:07 -0700 Subject: gpu: nvgpu: Split ctxsw_trace API into non-Linux component Split the ctxsw trace "core" API code into . This is not perect though since there's some Linuxisms present in the HAL and as such that code has to be hidden by the ctxsw tracing CONFIG. But this patch should work for QNX such that it will allow the code to build as long as CONFIG_GK20A_CTXSW_TRACE is not set. Also fix the copywrite notice in the ctxsw code present under common/linux to be GPL. JIRA NVGPU-287 Change-Id: I94715864caf335b7220185492e4629d713b025e0 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1589429 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c') diff --git a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c index 72f2ae8b..dc7608ff 100644 --- a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c @@ -24,12 +24,14 @@ #include #include +#include + #include #include #include +#include #include "gk20a/gk20a.h" -#include "gk20a/ctxsw_trace_gk20a.h" #include "vgpu.h" #include "fecs_trace_vgpu.h" -- cgit v1.2.2