diff options
author | Thierry Reding <treding@nvidia.com> | 2013-10-09 04:32:54 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-10-31 04:55:40 -0400 |
commit | fc3be3e8fc8b3b6e800d6dc8ffb794e9d27ba5d2 (patch) | |
tree | c506015e29926a55f09880ad5a238a8bd1d82d02 /drivers/gpu/host1x | |
parent | 776dc38403676f499a73d32e2e7c61eb5b42f736 (diff) |
gpu: host1x: Use relative include paths
This is slightly safer than adding -Idrivers/gpu/host1x to cflags-y.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/Makefile | 2 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/cdma_hw.c | 8 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/channel_hw.c | 8 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/debug_hw.c | 8 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/host1x01.c | 16 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/intr_hw.c | 4 | ||||
-rw-r--r-- | drivers/gpu/host1x/hw/syncpt_hw.c | 4 |
7 files changed, 24 insertions, 26 deletions
diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile index 7b781920c58a..616fe82ce715 100644 --- a/drivers/gpu/host1x/Makefile +++ b/drivers/gpu/host1x/Makefile | |||
@@ -1,5 +1,3 @@ | |||
1 | ccflags-y = -Idrivers/gpu/host1x | ||
2 | |||
3 | host1x-y = \ | 1 | host1x-y = \ |
4 | bus.o \ | 2 | bus.o \ |
5 | syncpt.o \ | 3 | syncpt.o \ |
diff --git a/drivers/gpu/host1x/hw/cdma_hw.c b/drivers/gpu/host1x/hw/cdma_hw.c index 2ee4ad55c4db..37e2a63241a9 100644 --- a/drivers/gpu/host1x/hw/cdma_hw.c +++ b/drivers/gpu/host1x/hw/cdma_hw.c | |||
@@ -20,10 +20,10 @@ | |||
20 | #include <linux/scatterlist.h> | 20 | #include <linux/scatterlist.h> |
21 | #include <linux/dma-mapping.h> | 21 | #include <linux/dma-mapping.h> |
22 | 22 | ||
23 | #include "cdma.h" | 23 | #include "../cdma.h" |
24 | #include "channel.h" | 24 | #include "../channel.h" |
25 | #include "dev.h" | 25 | #include "../dev.h" |
26 | #include "debug.h" | 26 | #include "../debug.h" |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Put the restart at the end of pushbuffer memor | 29 | * Put the restart at the end of pushbuffer memor |
diff --git a/drivers/gpu/host1x/hw/channel_hw.c b/drivers/gpu/host1x/hw/channel_hw.c index aa9bdf331139..3be0cd296d3a 100644 --- a/drivers/gpu/host1x/hw/channel_hw.c +++ b/drivers/gpu/host1x/hw/channel_hw.c | |||
@@ -21,10 +21,10 @@ | |||
21 | 21 | ||
22 | #include <trace/events/host1x.h> | 22 | #include <trace/events/host1x.h> |
23 | 23 | ||
24 | #include "channel.h" | 24 | #include "../channel.h" |
25 | #include "dev.h" | 25 | #include "../dev.h" |
26 | #include "intr.h" | 26 | #include "../intr.h" |
27 | #include "job.h" | 27 | #include "../job.h" |
28 | 28 | ||
29 | #define HOST1X_CHANNEL_SIZE 16384 | 29 | #define HOST1X_CHANNEL_SIZE 16384 |
30 | #define TRACE_MAX_LENGTH 128U | 30 | #define TRACE_MAX_LENGTH 128U |
diff --git a/drivers/gpu/host1x/hw/debug_hw.c b/drivers/gpu/host1x/hw/debug_hw.c index 788fe7179d8f..640c75ca5a8b 100644 --- a/drivers/gpu/host1x/hw/debug_hw.c +++ b/drivers/gpu/host1x/hw/debug_hw.c | |||
@@ -15,10 +15,10 @@ | |||
15 | * | 15 | * |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "dev.h" | 18 | #include "../dev.h" |
19 | #include "debug.h" | 19 | #include "../debug.h" |
20 | #include "cdma.h" | 20 | #include "../cdma.h" |
21 | #include "channel.h" | 21 | #include "../channel.h" |
22 | 22 | ||
23 | #define HOST1X_DEBUG_MAX_PAGE_OFFSET 102400 | 23 | #define HOST1X_DEBUG_MAX_PAGE_OFFSET 102400 |
24 | 24 | ||
diff --git a/drivers/gpu/host1x/hw/host1x01.c b/drivers/gpu/host1x/hw/host1x01.c index a14e91cd1e58..859b73beb4d0 100644 --- a/drivers/gpu/host1x/hw/host1x01.c +++ b/drivers/gpu/host1x/hw/host1x01.c | |||
@@ -17,17 +17,17 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | /* include hw specification */ | 19 | /* include hw specification */ |
20 | #include "hw/host1x01.h" | 20 | #include "host1x01.h" |
21 | #include "hw/host1x01_hardware.h" | 21 | #include "host1x01_hardware.h" |
22 | 22 | ||
23 | /* include code */ | 23 | /* include code */ |
24 | #include "hw/cdma_hw.c" | 24 | #include "cdma_hw.c" |
25 | #include "hw/channel_hw.c" | 25 | #include "channel_hw.c" |
26 | #include "hw/debug_hw.c" | 26 | #include "debug_hw.c" |
27 | #include "hw/intr_hw.c" | 27 | #include "intr_hw.c" |
28 | #include "hw/syncpt_hw.c" | 28 | #include "syncpt_hw.c" |
29 | 29 | ||
30 | #include "dev.h" | 30 | #include "../dev.h" |
31 | 31 | ||
32 | int host1x01_init(struct host1x *host) | 32 | int host1x01_init(struct host1x *host) |
33 | { | 33 | { |
diff --git a/drivers/gpu/host1x/hw/intr_hw.c b/drivers/gpu/host1x/hw/intr_hw.c index b592eef1efcb..b26dcc83bc1b 100644 --- a/drivers/gpu/host1x/hw/intr_hw.c +++ b/drivers/gpu/host1x/hw/intr_hw.c | |||
@@ -22,8 +22,8 @@ | |||
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <asm/mach/irq.h> | 23 | #include <asm/mach/irq.h> |
24 | 24 | ||
25 | #include "intr.h" | 25 | #include "../intr.h" |
26 | #include "dev.h" | 26 | #include "../dev.h" |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Sync point threshold interrupt service function | 29 | * Sync point threshold interrupt service function |
diff --git a/drivers/gpu/host1x/hw/syncpt_hw.c b/drivers/gpu/host1x/hw/syncpt_hw.c index 0cf6095d3367..56e85395ac24 100644 --- a/drivers/gpu/host1x/hw/syncpt_hw.c +++ b/drivers/gpu/host1x/hw/syncpt_hw.c | |||
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | 20 | ||
21 | #include "dev.h" | 21 | #include "../dev.h" |
22 | #include "syncpt.h" | 22 | #include "../syncpt.h" |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Write the current syncpoint value back to hw. | 25 | * Write the current syncpoint value back to hw. |