gpu: nvgpu: move netlist_defs.h to include/

According to nvgpu coding guidelines, common headers should be put
in include/ directory. Updated accordingly

Change-Id: I448c562734616cb6b7ff5496094a3abb65e0d7df
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2599899
(cherry picked from commit 80f12d84015a433bbca2580f300d77c39d69097a)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2633417
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Debarshi Dutta
2021-09-24 11:46:12 +05:30
committed by mobile promotions
parent c6f50ee42e
commit 9e3566a35b
10 changed files with 16 additions and 16 deletions

View File

@@ -153,7 +153,7 @@ netlist:
owner: Seshendra G owner: Seshendra G
sources: [ common/netlist/netlist.c, sources: [ common/netlist/netlist.c,
common/netlist/netlist_priv.h, common/netlist/netlist_priv.h,
common/netlist/netlist_defs.h, include/nvgpu/netlist_defs.h,
include/nvgpu/netlist.h ] include/nvgpu/netlist.h ]
nvlink: nvlink:

View File

@@ -30,10 +30,10 @@
#include <nvgpu/gk20a.h> #include <nvgpu/gk20a.h>
#include <nvgpu/netlist.h> #include <nvgpu/netlist.h>
#include <nvgpu/string.h> #include <nvgpu/string.h>
#include <nvgpu/netlist_defs.h>
#include <nvgpu/static_analysis.h> #include <nvgpu/static_analysis.h>
#include "netlist_priv.h" #include "netlist_priv.h"
#include "netlist_defs.h"
/* /*
* Need to support multiple ARCH in same GPU family * Need to support multiple ARCH in same GPU family

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GA100_H #define NVGPU_NETLIST_GA100_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GA10B_H #define NVGPU_NETLIST_GA10B_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GM20B_H #define NVGPU_NETLIST_GM20B_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2015-2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2015-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GP10B_H #define NVGPU_NETLIST_GP10B_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GV100_H #define NVGPU_NETLIST_GV100_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016 - 2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2016 - 2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_GV11B_H #define NVGPU_NETLIST_GV11B_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
#define NVGPU_NETLIST_TU104_H #define NVGPU_NETLIST_TU104_H
#include <nvgpu/types.h> #include <nvgpu/types.h>
#include "common/netlist/netlist_defs.h" #include <nvgpu/netlist_defs.h>
struct gk20a; struct gk20a;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),