drm/panfrost: Add gpu_irq, mmu_irq to struct panfrost_device
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 4 Dec 2023 11:42:14 +0000 (12:42 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 5 Dec 2023 10:39:57 +0000 (11:39 +0100)
commitb98e9a84d38ac88f9fd2accbcd45b656eeea7a04
treea0e9858ea748febfdf18e55a49fb2b64d3b99251
parenta4f5892914ca7709ea6d191f0edace93a5935966
drm/panfrost: Add gpu_irq, mmu_irq to struct panfrost_device

In preparation for adding a IRQ synchronization mechanism for PM suspend,
add gpu_irq and mmu_irq variables to struct panfrost_device and change
functions panfrost_gpu_init() and panfrost_mmu_init() to use those.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231204114215.54575-3-angelogioacchino.delregno@collabora.com
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_gpu.c
drivers/gpu/drm/panfrost/panfrost_mmu.c