Commit fc3be3e8 authored by Thierry Reding's avatar Thierry Reding

gpu: host1x: Use relative include paths

This is slightly safer than adding -Idrivers/gpu/host1x to cflags-y.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 776dc384
ccflags-y = -Idrivers/gpu/host1x
host1x-y = \ host1x-y = \
bus.o \ bus.o \
syncpt.o \ syncpt.o \
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include "cdma.h" #include "../cdma.h"
#include "channel.h" #include "../channel.h"
#include "dev.h" #include "../dev.h"
#include "debug.h" #include "../debug.h"
/* /*
* Put the restart at the end of pushbuffer memor * Put the restart at the end of pushbuffer memor
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
#include <trace/events/host1x.h> #include <trace/events/host1x.h>
#include "channel.h" #include "../channel.h"
#include "dev.h" #include "../dev.h"
#include "intr.h" #include "../intr.h"
#include "job.h" #include "../job.h"
#define HOST1X_CHANNEL_SIZE 16384 #define HOST1X_CHANNEL_SIZE 16384
#define TRACE_MAX_LENGTH 128U #define TRACE_MAX_LENGTH 128U
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
* *
*/ */
#include "dev.h" #include "../dev.h"
#include "debug.h" #include "../debug.h"
#include "cdma.h" #include "../cdma.h"
#include "channel.h" #include "../channel.h"
#define HOST1X_DEBUG_MAX_PAGE_OFFSET 102400 #define HOST1X_DEBUG_MAX_PAGE_OFFSET 102400
......
...@@ -17,17 +17,17 @@ ...@@ -17,17 +17,17 @@
*/ */
/* include hw specification */ /* include hw specification */
#include "hw/host1x01.h" #include "host1x01.h"
#include "hw/host1x01_hardware.h" #include "host1x01_hardware.h"
/* include code */ /* include code */
#include "hw/cdma_hw.c" #include "cdma_hw.c"
#include "hw/channel_hw.c" #include "channel_hw.c"
#include "hw/debug_hw.c" #include "debug_hw.c"
#include "hw/intr_hw.c" #include "intr_hw.c"
#include "hw/syncpt_hw.c" #include "syncpt_hw.c"
#include "dev.h" #include "../dev.h"
int host1x01_init(struct host1x *host) int host1x01_init(struct host1x *host)
{ {
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#include <linux/io.h> #include <linux/io.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include "intr.h" #include "../intr.h"
#include "dev.h" #include "../dev.h"
/* /*
* Sync point threshold interrupt service function * Sync point threshold interrupt service function
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
#include <linux/io.h> #include <linux/io.h>
#include "dev.h" #include "../dev.h"
#include "syncpt.h" #include "../syncpt.h"
/* /*
* Write the current syncpoint value back to hw. * Write the current syncpoint value back to hw.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment