gpu: host1x: Rewrite syncpoint interrupt handling
Move from the old, complex intr handling code to a new implementation based on dma_fences. While there is a fair bit of churn to get there, the new implementation is much simpler and likely faster as well due to allowing signaling directly from interrupt context. Signed-off-by:Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
Showing
- drivers/gpu/host1x/debug.c 4 additions, 3 deletionsdrivers/gpu/host1x/debug.c
- drivers/gpu/host1x/dev.c 2 additions, 2 deletionsdrivers/gpu/host1x/dev.c
- drivers/gpu/host1x/dev.h 4 additions, 6 deletionsdrivers/gpu/host1x/dev.h
- drivers/gpu/host1x/fence.c 33 additions, 63 deletionsdrivers/gpu/host1x/fence.c
- drivers/gpu/host1x/fence.h 17 additions, 1 deletiondrivers/gpu/host1x/fence.h
- drivers/gpu/host1x/hw/intr_hw.c 20 additions, 54 deletionsdrivers/gpu/host1x/hw/intr_hw.c
- drivers/gpu/host1x/intr.c 58 additions, 276 deletionsdrivers/gpu/host1x/intr.c
- drivers/gpu/host1x/intr.h 9 additions, 74 deletionsdrivers/gpu/host1x/intr.h
- drivers/gpu/host1x/syncpt.h 2 additions, 1 deletiondrivers/gpu/host1x/syncpt.h
Loading
Please register or sign in to comment