diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-10-28 19:49:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-11 15:44:14 -0500 |
commit | b928f10d37bdb57266569073d8b5d553dbf39044 (patch) | |
tree | 60da9d9344963bfac157d91e74107d49109ef9a5 /drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | |
parent | 5e68c6e971d98fc9d4beaf69c5ca58f39f8db1a7 (diff) |
gpu: nvgpu: Start re-organizing the HW headers
Reorganize the HW headers of gk20a. The headers are moved to a
new directory:
include/nvgpu/hw/gk20a
And from the code are included like so:
#include <nvgpu/hw/gk20a/hw_pwr_gk20a.h>
This is the first step in reorganizing all of the HW headers for
gm20b, gm206, etc. This is part of a larger effort to re-structure
and make the driver more readable and scalable.
Bug 1799159
Change-Id: Ic151155cbc2e6f75009f2d9d597b364a1bed2c4c
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1244790
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c index 695d646f..d16c5fd1 100644 --- a/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/priv_ring_gk20a.c | |||
@@ -19,9 +19,10 @@ | |||
19 | #include <linux/delay.h> /* for mdelay */ | 19 | #include <linux/delay.h> /* for mdelay */ |
20 | 20 | ||
21 | #include "gk20a.h" | 21 | #include "gk20a.h" |
22 | #include "hw_mc_gk20a.h" | 22 | |
23 | #include "hw_pri_ringmaster_gk20a.h" | 23 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> |
24 | #include "hw_pri_ringstation_sys_gk20a.h" | 24 | #include <nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h> |
25 | #include <nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h> | ||
25 | 26 | ||
26 | void gk20a_reset_priv_ring(struct gk20a *g) | 27 | void gk20a_reset_priv_ring(struct gk20a *g) |
27 | { | 28 | { |
@@ -97,4 +98,3 @@ void gk20a_priv_ring_isr(struct gk20a *g) | |||
97 | gk20a_dbg_info("ringmaster intr status0: 0x%08x," | 98 | gk20a_dbg_info("ringmaster intr status0: 0x%08x," |
98 | " status1: 0x%08x", status0, status1); | 99 | " status1: 0x%08x", status0, status1); |
99 | } | 100 | } |
100 | |||