diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-14 16:19:04 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-18 18:14:31 -0400 |
commit | b7fca01b0e01544c3a66d2e05a8b99bcb621a004 (patch) | |
tree | d83d23a5f2ed2ad0ea30caa2b489b4bd0039b790 /drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |
parent | b1d303685b384d58064d8b18ec97e1302bcbba88 (diff) |
gpu: nvgpu: Scrub gk20a_platform dependencies
Remove gk20a_platform dependencies from gk20a.h. This makes
gk20a_platform a Linux platform specific data structure. Add #include
for platform_gk20a.h in the source files that still depend on Linux.
JIRA NVGPU-16
Change-Id: Ib098accd34a1f5066eb8680c387f9b178169f3f0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1463547
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 8e3f1754..25d6462d 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | |||
@@ -33,6 +33,10 @@ | |||
33 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | 33 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> |
34 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> | 34 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> |
35 | 35 | ||
36 | #ifdef CONFIG_DEBUG_FS | ||
37 | #include "platform_gk20a.h" | ||
38 | #endif | ||
39 | |||
36 | static u32 ce2_nonblockpipe_isr(struct gk20a *g, u32 fifo_intr) | 40 | static u32 ce2_nonblockpipe_isr(struct gk20a *g, u32 fifo_intr) |
37 | { | 41 | { |
38 | gk20a_dbg(gpu_dbg_intr, "ce2 non-blocking pipe interrupt\n"); | 42 | gk20a_dbg(gpu_dbg_intr, "ce2 non-blocking pipe interrupt\n"); |