Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/xe/display: remove unused xe->enabled_irq_mask
@ 2024-05-10  9:43 Jani Nikula
  2024-05-10  9:43 ` [PATCH 2/2] drm/xe/display: remove unused xe->sb_lock Jani Nikula
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Jani Nikula @ 2024-05-10  9:43 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

The xe->enabled_irq_mask member has never been used for anything.

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

diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 0de0566e5b39..fbe2c2eddea9 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -97,7 +97,6 @@ int xe_display_create(struct xe_device *xe)
 	xe->display.hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0);
 
 	drmm_mutex_init(&xe->drm, &xe->sb_lock);
-	xe->enabled_irq_mask = ~0;
 
 	return drmm_add_action_or_reset(&xe->drm, display_destroy, NULL);
 }
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 906b98fb973b..b78223e3baab 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -517,8 +517,6 @@ struct xe_device {
 	/* only to allow build, not used functionally */
 	u32 irq_mask;
 
-	u32 enabled_irq_mask;
-
 	struct intel_uncore {
 		spinlock_t lock;
 	} uncore;
-- 
2.39.2


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

end of thread, other threads:[~2024-05-13 19:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10  9:43 [PATCH 1/2] drm/xe/display: remove unused xe->enabled_irq_mask Jani Nikula
2024-05-10  9:43 ` [PATCH 2/2] drm/xe/display: remove unused xe->sb_lock Jani Nikula
2024-05-10 11:28   ` Ghimiray, Himal Prasad
2024-05-10  9:49 ` ✓ CI.Patch_applied: success for series starting with [1/2] drm/xe/display: remove unused xe->enabled_irq_mask Patchwork
2024-05-10  9:50 ` ✓ CI.checkpatch: " Patchwork
2024-05-10  9:52 ` ✓ CI.KUnit: " Patchwork
2024-05-10 10:06 ` ✓ CI.Build: " Patchwork
2024-05-10 10:09 ` ✓ CI.Hooks: " Patchwork
2024-05-10 10:10 ` ✓ CI.checksparse: " Patchwork
2024-05-10 10:46 ` ✓ CI.BAT: " Patchwork
2024-05-10 11:30 ` [PATCH 1/2] " Ghimiray, Himal Prasad
2024-05-10 12:15 ` ✗ CI.FULL: failure for series starting with [1/2] " Patchwork
2024-05-13 12:10 ` [PATCH 1/2] " Jani Nikula
2024-05-13 14:35   ` Lucas De Marchi
2024-05-13 19:56     ` Jani Nikula

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