From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/gpu/drm/i915/gt/intel_engine_pm.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/gpu/drm/i915/gt/intel_engine_pm.c b/kernel/drivers/gpu/drm/i915/gt/intel_engine_pm.c
index 313d8a2..f7b2e07 100644
--- a/kernel/drivers/gpu/drm/i915/gt/intel_engine_pm.c
+++ b/kernel/drivers/gpu/drm/i915/gt/intel_engine_pm.c
@@ -60,10 +60,9 @@
static inline unsigned long __timeline_mark_lock(struct intel_context *ce)
{
- unsigned long flags = 0;
+ unsigned long flags;
- if (!force_irqthreads)
- local_irq_save(flags);
+ local_irq_save(flags);
mutex_acquire(&ce->timeline->mutex.dep_map, 2, 0, _THIS_IP_);
return flags;
@@ -73,8 +72,7 @@
unsigned long flags)
{
mutex_release(&ce->timeline->mutex.dep_map, _THIS_IP_);
- if (!force_irqthreads)
- local_irq_restore(flags);
+ local_irq_restore(flags);
}
#else
--
Gitblit v1.6.2