Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/display: drop duplicate display->fb_tracking.lock init
@ 2025-05-16  9:55 Jani Nikula
  2025-05-16  9:59 ` Matthew Auld
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Jani Nikula @ 2025-05-16  9:55 UTC (permalink / raw)
  To: intel-xe; +Cc: jani.nikula

The spinlock is initialized in intel_display_driver_early_probe(). Drop
the extra init.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/xe/display/xe_display.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 699f401eff10..1fcca7acaef4 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -109,8 +109,6 @@ int xe_display_create(struct xe_device *xe)
 
 	xe->display = &xe->__display;
 
-	spin_lock_init(&display->fb_tracking.lock);
-
 	display->hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0);
 
 	return drmm_add_action_or_reset(&xe->drm, display_destroy, NULL);
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-27  2:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16  9:55 [PATCH] drm/xe/display: drop duplicate display->fb_tracking.lock init Jani Nikula
2025-05-16  9:59 ` Matthew Auld
2025-05-16 12:19   ` Jani Nikula
2025-05-16 10:13 ` ✓ CI.Patch_applied: success for " Patchwork
2025-05-16 10:13 ` ✓ CI.checkpatch: " Patchwork
2025-05-16 10:14 ` ✓ CI.KUnit: " Patchwork
2025-05-16 10:24 ` ✓ CI.Build: " Patchwork
2025-05-16 10:27 ` ✓ CI.Hooks: " Patchwork
2025-05-16 10:28 ` ✓ CI.checksparse: " Patchwork
2025-05-16 10:50 ` ✓ Xe.CI.BAT: " Patchwork
2025-05-17  3:07 ` ✗ Xe.CI.Full: failure " Patchwork
2025-05-27  2:58 ` ✗ CI.Patch_applied: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox