gpu: nvgpu: add separate unit for debugger

Rename gk20a/dbg_gpu_gk20a.c to common/debugger.c and make it a
separate common unit
Also rename gk20a/dbg_gpu_gk20a.h to include/nvgpu/debugger.h

We had two different HALs for debugger - gops.debugger and
gops.dbg_session_ops
Combine them into one single HAL gops.debugger and remove
gops.dbg_session_ops

Rename all exported APIs from debugger.h to be in the form of
nvgpu_*()

Jira NVGPU-1013

Change-Id: I136dc7786e3b2065921eb03b99f16049212f3cd2
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1920075
Reviewed-by: Sachin Jadhav <sachinj@nvidia.com>
Tested-by: Sachin Jadhav <sachinj@nvidia.com>
This commit is contained in:
Deepak Nibade
2018-10-05 16:18:01 +05:30
committed by Sachin Jadhav
parent 625fa68d2a
commit 1b2a0833e0
25 changed files with 63 additions and 94 deletions

View File

@@ -22,8 +22,6 @@
#include <nvgpu/ctxsw_trace.h>
#include <nvgpu/gk20a.h>
#include "gk20a/dbg_gpu_gk20a.h"
#include "ioctl_channel.h"
#include "ioctl_ctrl.h"
#include "ioctl_as.h"