summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/hw/host1x01.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2013-03-22 18:34:02 +0400
committerThierry Reding <thierry.reding@avionic-design.de>2013-04-22 14:32:42 +0400
commit7ede0b0bf3e2595d40d6195b6fe4c4dcef438830 (patch)
treeeb59a94a3892bd41ae810b1726f7e7ae9de96812 /drivers/gpu/host1x/hw/host1x01.c
parent754716874389ccbea5ee03174df8ad9e72e41880 (diff)
downloadlinux-7ede0b0bf3e2595d40d6195b6fe4c4dcef438830.tar.xz
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 @@
#include "hw/host1x01_hardware.h"
/* include code */
+#include "hw/intr_hw.c"
#include "hw/syncpt_hw.c"
#include "dev.h"
@@ -28,6 +29,7 @@
int host1x01_init(struct host1x *host)
{
host->syncpt_op = &host1x_syncpt_ops;
+ host->intr_op = &host1x_intr_ops;
return 0;
}