gpu: host1x: Request syncpoint IRQs only during probe
authorMikko Perttunen <mperttunen@nvidia.com>
Fri, 31 May 2024 07:07:18 +0000 (10:07 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 28 Aug 2024 15:28:48 +0000 (17:28 +0200)
commit4c27ac45e6224ea0ca2d2e5dce64e3df122d27c7
tree0408af68a0ece51d622097126ba2037ec1ad8517
parentbad928d2cae5d4d5ec1474ae7428a797fb34c111
gpu: host1x: Request syncpoint IRQs only during probe

Syncpoint IRQs are currently requested in a code path that runs
during resume. Due to this, we get multiple overlapping registered
interrupt handlers as host1x is suspended and resumed.

Rearrange interrupt code to only request IRQs during initialization.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240531070719.2138-1-cyndis@kapsi.fi
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/intr_hw.c
drivers/gpu/host1x/intr.c
drivers/gpu/host1x/intr.h
This page took 0.057265 seconds and 4 git commands to generate.