summaryrefslogtreecommitdiff
path: root/mali_kbase
diff options
context:
space:
mode:
Diffstat (limited to 'mali_kbase')
-rw-r--r--mali_kbase/platform/pixel/pixel_gpu_uevent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mali_kbase/platform/pixel/pixel_gpu_uevent.c b/mali_kbase/platform/pixel/pixel_gpu_uevent.c
index 7b8dcd2..9b82704 100644
--- a/mali_kbase/platform/pixel/pixel_gpu_uevent.c
+++ b/mali_kbase/platform/pixel/pixel_gpu_uevent.c
@@ -67,6 +67,9 @@ void pixel_gpu_uevent_send(struct kbase_device *kbdev, const struct gpu_uevent *
unsigned long flags, current_ts = jiffies;
bool suppress_uevent = false;
+ if (WARN_ON(in_interrupt()))
+ return;
+
if (!gpu_uevent_check_valid(evt)) {
dev_err(kbdev->dev, "unrecognized uevent type=%u info=%u", evt->type, evt->info);
return;