Skip to contentSkip to conversation

Revert "drm/i915: Abstract display info away during probe"

PATCH New Rodrigo Vivi 2 participants 3 messages Oct 2, 2023

Subsystems (3)
lore
Share & tools
lore

Rodrigo Vivi

author maintainer
#0 lore raw

PATCH 1/2 Revert "drm/i915: Abstract display info away during probe"

This reverts commit 9532e38d04e5b72b37475ec4cc9ebd1b378d2785.

---
 drivers/gpu/drm/i915/display/intel_display_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_device.c +1 -1
index ce55b968e658..a6a18eae7ae8 100644
@@ -926,7 +926,7 @@ void intel_display_device_probe(struct drm_i915_private *i915)
 	else
 		info = probe_display(i915);
 
-	DISPLAY_INFO(i915) = info;
+	i915->display.info.__device_info = info;
 
 	memcpy(DISPLAY_RUNTIME_INFO(i915),
 	       &DISPLAY_INFO(i915)->__runtime_defaults,
Signature · 1 line
2.41.0
author maintainer
#1 lore raw

PATCH 2/2 drm/i915: Abstract display info away during probe

The goal is to have this function ready for Xe to use directly. So, let's use the available macro.

Cc Jani Nikula <[email protected]>
(cherry picked from commit 4c7690614c8bbd6cd29b949f9084ddb294ffe284)
---
 drivers/gpu/drm/i915/display/intel_display_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_device.c +1 -1
index a6a18eae7ae8..ce55b968e658 100644
@@ -926,7 +926,7 @@ void intel_display_device_probe(struct drm_i915_private *i915)
 	else
 		info = probe_display(i915);
 
-	i915->display.info.__device_info = info;
+	DISPLAY_INFO(i915) = info;
 
 	memcpy(DISPLAY_RUNTIME_INFO(i915),
 	       &DISPLAY_INFO(i915)->__runtime_defaults,
Signature · 1 line
2.41.0
#2 lore raw

[Intel-xe] ✗ CI.Patch_applied: failure for series starting with [1/2] Revert "drm/i915: Abstract display info away during probe"

In reply to Rodrigo Vivi
== Series Details ==

== Series Details ==

Series: series starting with [1/2] Revert "drm/i915: Abstract display info away during probe"
URL : https://patchwork.freedesktop.org/series/124530/
State : failure

== Summary ==

=== Applying kernel patches on branch 'drm-xe-next' with base: === Base commit: edd77106f drm/xe/tuning: Add missing engine class rules for LRC tuning === git am output follows ===
Applying: Revert "drm/i915: Abstract display info away during probe"
Applying: drm/i915: Abstract display info away during probe