aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/host1x01.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2013-03-22 10:34:02 -0400
committerThierry Reding <thierry.reding@avionic-design.de>2013-04-22 06:32:42 -0400
commit7ede0b0bf3e2595d40d6195b6fe4c4dcef438830 (patch)
treeeb59a94a3892bd41ae810b1726f7e7ae9de96812 /drivers/gpu/host1x/hw/host1x01.c
parent754716874389ccbea5ee03174df8ad9e72e41880 (diff)
gpu: host1x: Add syncpoint wait and interrupts
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. 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/host1x01.c')
-rw-r--r--drivers/gpu/host1x/hw/host1x01.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/host1x01.c b/drivers/gpu/host1x/hw/host1x01.c
index 612b4574c4b6..f5c35fa66d05 100644
--- a/drivers/gpu/host1x/hw/host1x01.c
+++ b/drivers/gpu/host1x/hw/host1x01.c
@@ -21,6 +21,7 @@
21#include "hw/host1x01_hardware.h" 21#include "hw/host1x01_hardware.h"
22 22
23/* include code */ 23/* include code */
24#include "hw/intr_hw.c"
24#include "hw/syncpt_hw.c" 25#include "hw/syncpt_hw.c"
25 26
26#include "dev.h" 27#include "dev.h"
@@ -28,6 +29,7 @@
28int host1x01_init(struct host1x *host) 29int host1x01_init(struct host1x *host)
29{ 30{
30 host->syncpt_op = &host1x_syncpt_ops; 31 host->syncpt_op = &host1x_syncpt_ops;
32 host->intr_op = &host1x_intr_ops;
31 33
32 return 0; 34 return 0;
33} 35}