mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
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. Bug 4658418 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I25e129452aeb39c23aa2d6f6a54729f60390d088 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145171 Reviewed-by: Santosh BS <santoshb@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d2a5a35cfe
commit
60b43d6545
@@ -9,6 +9,7 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/iommu.h>
|
||||
#include <linux/iova.h>
|
||||
#include <linux/irqreturn.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/reset.h>
|
||||
|
||||
@@ -88,6 +89,7 @@ struct host1x_intr_ops {
|
||||
void (*disable_syncpt_intr)(struct host1x *host, unsigned int id);
|
||||
void (*disable_all_syncpt_intrs)(struct host1x *host);
|
||||
int (*free_syncpt_irq)(struct host1x *host);
|
||||
irqreturn_t (*isr)(int irq, void *dev_id);
|
||||
};
|
||||
|
||||
struct host1x_actmon_entry {
|
||||
|
||||
Reference in New Issue
Block a user