gpu: nvgpu: move header location of gk20a.h

Change path corresponding to gk20a.h to <nvgpu/gk20a.h> for the
following files.

acr_tu104.c
scripts/nvgpu_debug_hal.py

Change-Id: Ie4de9be6d66cebcb735242514874e9a8975da9ad
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1935127
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Debarshi Dutta
2018-10-25 10:33:10 +05:30
committed by mobile promotions
parent a5d5454c8b
commit f438e49662
2 changed files with 2 additions and 2 deletions

View File

@@ -28,8 +28,8 @@
#include <nvgpu/kmem.h> #include <nvgpu/kmem.h>
#include <nvgpu/pmu.h> #include <nvgpu/pmu.h>
#include <nvgpu/dma.h> #include <nvgpu/dma.h>
#include <nvgpu/gk20a.h>
#include "gk20a/gk20a.h"
#include "gm20b/acr_gm20b.h" #include "gm20b/acr_gm20b.h"
#include "gp106/acr_gp106.h" #include "gp106/acr_gp106.h"
#include "gv100/gsp_gv100.h" #include "gv100/gsp_gv100.h"

View File

@@ -45,7 +45,7 @@ else:
if top is None: if top is None:
print("$TOP is undefined, unable to find gk20a.h"); print("$TOP is undefined, unable to find gk20a.h");
exit(-1); exit(-1);
gk20a_h_path = top + "/kernel/nvgpu/drivers/gpu/nvgpu/gk20a/gk20a.h" gk20a_h_path = top + "/kernel/nvgpu/drivers/gpu/nvgpu/include/nvgpu/gk20a.h"
def get_function_pointer_name(line): def get_function_pointer_name(line):
matches = re.search('.*\(\*(?P<function_name>\w+)\)\(', line); matches = re.search('.*\(\*(?P<function_name>\w+)\)\(', line);