diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-03-22 15:34:02 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-04-22 12:32:42 +0200 |
commit | 7ede0b0bf3e2595d40d6195b6fe4c4dcef438830 (patch) | |
tree | eb59a94a3892bd41ae810b1726f7e7ae9de96812 /drivers/gpu/host1x/hw/host1x01.c | |
parent | gpu: host1x: Add host1x driver (diff) | |
download | linux-7ede0b0bf3e2595d40d6195b6fe4c4dcef438830.tar.xz linux-7ede0b0bf3e2595d40d6195b6fe4c4dcef438830.zip |
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.c | 2 |
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; } |