mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Add types.h to clock gating headers
The headers use u32 and bool but do not include <nvgpu/types.h>. Moving around header includes exposed this issue in the cascade builds. This patch fixes the problem in all clock gating headers to avoid this being a concern in the future. Change-Id: Id56074df393d95bf65baf4062ac811d80d87e96b Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1729748 Reviewed-by: Bo Yan <byan@nvidia.com>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#ifndef GATING_REGLIST_H
|
||||
#define GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gating_desc {
|
||||
u32 addr;
|
||||
u32 prod;
|
||||
@@ -32,4 +34,3 @@ struct gating_desc {
|
||||
};
|
||||
|
||||
#endif /* GATING_REGLIST_H */
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef GM20B_GATING_REGLIST_H
|
||||
#define GM20B_GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gk20a;
|
||||
|
||||
void gm20b_slcg_bus_load_gating_prod(struct gk20a *g,
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef GP106_GATING_REGLIST_H
|
||||
#define GP106_GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gk20a;
|
||||
|
||||
void gp106_slcg_bus_load_gating_prod(struct gk20a *g,
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef GP10B_GATING_REGLIST_H
|
||||
#define GP10B_GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gk20a;
|
||||
|
||||
void gp10b_slcg_bus_load_gating_prod(struct gk20a *g,
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef GV100_GATING_REGLIST_H
|
||||
#define GV100_GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gk20a;
|
||||
|
||||
void gv100_slcg_bus_load_gating_prod(struct gk20a *g,
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef GV11B_GATING_REGLIST_H
|
||||
#define GV11B_GATING_REGLIST_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct gk20a;
|
||||
|
||||
void gv11b_slcg_bus_load_gating_prod(struct gk20a *g,
|
||||
|
||||
Reference in New Issue
Block a user