[PATCH] gpu: host1x: Request syncpoint IRQs only during probe

Thierry Reding thierry.reding at gmail.com
Wed Aug 28 15:10:30 UTC 2024


On Fri, May 31, 2024 at 10:07:18AM GMT, Mikko Perttunen wrote:
> From: Mikko Perttunen <mperttunen at nvidia.com>
> 
> 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 at nvidia.com>
> ---
>  drivers/gpu/host1x/dev.h        |  2 ++
>  drivers/gpu/host1x/hw/intr_hw.c | 37 +++------------------------------
>  drivers/gpu/host1x/intr.c       | 21 ++++++++++++++++++-
>  drivers/gpu/host1x/intr.h       |  5 +++++
>  4 files changed, 30 insertions(+), 35 deletions(-)

Sorry, I only stumbled across this now. Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240828/4deade91/attachment.sig>


More information about the dri-devel mailing list