summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index 0dd0fc40..b018f3d9 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -14,10 +14,6 @@
14 */ 14 */
15#include <linux/delay.h> 15#include <linux/delay.h>
16#include <linux/types.h> 16#include <linux/types.h>
17#ifdef CONFIG_TEGRA_GK20A_NVHOST
18#include <linux/nvhost.h>
19#include <linux/nvhost_t194.h>
20#endif
21 17
22#include <nvgpu/semaphore.h> 18#include <nvgpu/semaphore.h>
23#include <nvgpu/timers.h> 19#include <nvgpu/timers.h>
@@ -27,6 +23,7 @@
27#include <nvgpu/gmmu.h> 23#include <nvgpu/gmmu.h>
28#include <nvgpu/soc.h> 24#include <nvgpu/soc.h>
29#include <nvgpu/debug.h> 25#include <nvgpu/debug.h>
26#include <nvgpu/nvhost_t19x.h>
30 27
31#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
32#include "gk20a/fifo_gk20a.h" 29#include "gk20a/fifo_gk20a.h"
@@ -1461,7 +1458,7 @@ static void gv11b_fifo_add_syncpt_wait_cmd(struct gk20a *g,
1461 u32 id, u32 thresh, u64 gpu_va_base) 1458 u32 id, u32 thresh, u64 gpu_va_base)
1462{ 1459{
1463 u64 gpu_va = gpu_va_base + 1460 u64 gpu_va = gpu_va_base +
1464 nvhost_syncpt_unit_interface_get_byte_offset(id); 1461 nvgpu_nvhost_syncpt_unit_interface_get_byte_offset(id);
1465 1462
1466 gk20a_dbg_fn(""); 1463 gk20a_dbg_fn("");
1467 1464
@@ -1497,7 +1494,7 @@ static void gv11b_fifo_add_syncpt_incr_cmd(struct gk20a *g,
1497{ 1494{
1498 u32 off = cmd->off; 1495 u32 off = cmd->off;
1499 u64 gpu_va = gpu_va_base + 1496 u64 gpu_va = gpu_va_base +
1500 nvhost_syncpt_unit_interface_get_byte_offset(id); 1497 nvgpu_nvhost_syncpt_unit_interface_get_byte_offset(id);
1501 1498
1502 gk20a_dbg_fn(""); 1499 gk20a_dbg_fn("");
1503 1500