summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
diff options
context:
space:
mode:
authorDebarshi Dutta <ddutta@nvidia.com>2018-08-02 02:18:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-08 23:14:16 -0400
commitdb7bb6548b6f3c9da0f40a87ccbb9233c761c598 (patch)
treeacadaacbd24ccb3f64784afffdaad7d1cdb3a884 /drivers/gpu/nvgpu/boardobj/boardobjgrp.h
parenta09b9cd587d27a3ef6479a17631c3497d447e7a9 (diff)
gpu: nvgpu: remove clk_arb.h to gk20a.h circular dependency
clk_arb.h and gk20a.h has circular dependencies to each other. This is removed by forward declaring struct gk20a in clk_arb.h and removing the header gk20a.h from clk_arb.h and similarly forward declaring struct nvgpu_clk_arb in gk20a.h and removing the header clk_arb.h from gk20a.h alongwith putting headers in every execution unit which calls clk_arb.h related methods. JIRA NVGPU-597 Change-Id: I7cedca17206c148b21d93e5d7f0d88c2f98b979a Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1790915 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.h')
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
index f5701293..912c2c98 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3* 3*
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -30,6 +30,8 @@ struct gk20a;
30#include "ctrl/ctrlboardobj.h" 30#include "ctrl/ctrlboardobj.h"
31#include "boardobj.h" 31#include "boardobj.h"
32#include "boardobjgrpmask.h" 32#include "boardobjgrpmask.h"
33#include <nvgpu/list.h>
34#include <nvgpu/pmu.h>
33 35
34/* 36/*
35* Board Object Group destructor. 37* Board Object Group destructor.