diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-03-22 10:34:03 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-22 06:32:43 -0400 |
commit | 6579324a41cc414009a601738b70a53d6376325c (patch) | |
tree | 61b3491351217d07ff75851c6d989bf02b213383 /drivers/gpu/host1x/hw/hw_host1x01_sync.h | |
parent | 7ede0b0bf3e2595d40d6195b6fe4c4dcef438830 (diff) |
gpu: host1x: Add channel support
Add support for host1x client modules, and host1x channels to submit
work to the clients.
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/gpu/host1x/hw/hw_host1x01_sync.h')
-rw-r--r-- | drivers/gpu/host1x/hw/hw_host1x01_sync.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/hw_host1x01_sync.h b/drivers/gpu/host1x/hw/hw_host1x01_sync.h index eea0bb06052a..8f2a246c5426 100644 --- a/drivers/gpu/host1x/hw/hw_host1x01_sync.h +++ b/drivers/gpu/host1x/hw/hw_host1x01_sync.h | |||
@@ -77,6 +77,18 @@ static inline u32 host1x_sync_syncpt_thresh_int_enable_cpu0_r(unsigned int id) | |||
77 | } | 77 | } |
78 | #define HOST1X_SYNC_SYNCPT_THRESH_INT_ENABLE_CPU0(id) \ | 78 | #define HOST1X_SYNC_SYNCPT_THRESH_INT_ENABLE_CPU0(id) \ |
79 | host1x_sync_syncpt_thresh_int_enable_cpu0_r(id) | 79 | host1x_sync_syncpt_thresh_int_enable_cpu0_r(id) |
80 | static inline u32 host1x_sync_cmdproc_stop_r(void) | ||
81 | { | ||
82 | return 0xac; | ||
83 | } | ||
84 | #define HOST1X_SYNC_CMDPROC_STOP \ | ||
85 | host1x_sync_cmdproc_stop_r() | ||
86 | static inline u32 host1x_sync_ch_teardown_r(void) | ||
87 | { | ||
88 | return 0xb0; | ||
89 | } | ||
90 | #define HOST1X_SYNC_CH_TEARDOWN \ | ||
91 | host1x_sync_ch_teardown_r() | ||
80 | static inline u32 host1x_sync_usec_clk_r(void) | 92 | static inline u32 host1x_sync_usec_clk_r(void) |
81 | { | 93 | { |
82 | return 0x1a4; | 94 | return 0x1a4; |