diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-05-22 15:08:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-24 13:55:11 -0400 |
commit | 3f27b8f0891cf317b0607f221101a144cab48f8d (patch) | |
tree | d8562ba845b68dd01944cc52c0ddd4bca545ba74 | |
parent | 794ddbd1a046ff5744209e615bdfcfd0f34c4c8d (diff) |
gpu: nvgpu: Use proper include path for clockgating header
Instead of referencing the header from $NVGPU/drivers/gpu/nvgpu/common
reference it from $NVGPU/drivers/gpu/nvgpu. This makes the POSIX
compilation happy since we don't do a -Idrivers/gpu/nvgpu/common.
Not sure exactly why the regular kernbel build does this but it
probably should not.
Change-Id: I00aee373b651e3b7710669fa04c5b75fc1c814d9
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1727426
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 9fa6b6cc..f96c576b 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |||
@@ -22,6 +22,8 @@ | |||
22 | * DEALINGS IN THE SOFTWARE. | 22 | * DEALINGS IN THE SOFTWARE. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "common/clock_gating/gm20b_gating_reglist.h" | ||
26 | |||
25 | #include "gk20a/gk20a.h" | 27 | #include "gk20a/gk20a.h" |
26 | #include "gk20a/ce2_gk20a.h" | 28 | #include "gk20a/ce2_gk20a.h" |
27 | #include "gk20a/dbg_gpu_gk20a.h" | 29 | #include "gk20a/dbg_gpu_gk20a.h" |
@@ -43,7 +45,6 @@ | |||
43 | #include "gr_gm20b.h" | 45 | #include "gr_gm20b.h" |
44 | #include "ltc_gm20b.h" | 46 | #include "ltc_gm20b.h" |
45 | #include "fb_gm20b.h" | 47 | #include "fb_gm20b.h" |
46 | #include "clock_gating/gm20b_gating_reglist.h" | ||
47 | #include "fifo_gm20b.h" | 48 | #include "fifo_gm20b.h" |
48 | #include "gr_ctx_gm20b.h" | 49 | #include "gr_ctx_gm20b.h" |
49 | #include "mm_gm20b.h" | 50 | #include "mm_gm20b.h" |