2025-01-20 13:45:45 +00:00
|
|
|
From bc3a3a9b9617c85b259fd1aa2c5ce46f17fb1694 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Peter Jung <admin@ptr1337.dev>
|
|
|
|
Date: Fri, 18 Oct 2024 22:44:33 +0200
|
|
|
|
Subject: [PATCH 4/6] silence-event-assert-until-570
|
|
|
|
|
|
|
|
Currently, when playing CS2 it reports a massive spam in the dmesg log. This will be fixed in the 570 driver.
|
|
|
|
Silence it for now.
|
|
|
|
|
|
|
|
Signed-off-by: Peter Jung <admin@ptr1337.dev>
|
|
|
|
---
|
2025-01-20 14:55:04 +00:00
|
|
|
kernel/rmapi/event_notification.c | 4 ++--
|
2025-01-20 13:45:45 +00:00
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2025-01-20 14:55:04 +00:00
|
|
|
diff --git a/kernel/rmapi/event_notification.c b/kernel/rmapi/event_notification.c
|
2025-01-20 13:45:45 +00:00
|
|
|
index cf78eadd..d6937cac 100644
|
2025-01-20 14:55:04 +00:00
|
|
|
--- a/kernel/rmapi/event_notification.c
|
|
|
|
+++ b/kernel/rmapi/event_notification.c
|
2025-01-20 13:45:45 +00:00
|
|
|
@@ -286,11 +286,11 @@ static NV_STATUS _gpuEngineEventNotificationListNotify
|
|
|
|
portSyncSpinlockAcquire(pEventNotificationList->pSpinlock);
|
|
|
|
{
|
|
|
|
// We don't expect this to be called multiple times in parallel
|
|
|
|
- NV_ASSERT_OR_ELSE(pEventNotificationList->pendingEventNotifyCount == 0,
|
|
|
|
+ if (pEventNotificationList->pendingEventNotifyCount != 0)
|
|
|
|
{
|
|
|
|
portSyncSpinlockRelease(pEventNotificationList->pSpinlock);
|
|
|
|
return NV_ERR_INVALID_STATE;
|
|
|
|
- });
|
|
|
|
+ }
|
|
|
|
|
|
|
|
EngineEventNotificationListIter it =
|
|
|
|
listIterAll(&pEventNotificationList->eventNotificationList);
|
|
|
|
--
|
|
|
|
2.47.0
|
|
|
|
|