Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/i915: Abstract display info away during probe
@ 2023-09-29 20:50 Rodrigo Vivi
  2023-09-29 23:05 ` [Intel-xe] ✗ CI.Patch_applied: failure for " Patchwork
  2023-10-02  7:41 ` [Intel-xe] [PATCH] " Jani Nikula
  0 siblings, 2 replies; 7+ messages in thread
From: Rodrigo Vivi @ 2023-09-29 20:50 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Jani Nikula, Rodrigo Vivi

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

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
index a6a18eae7ae8..ce55b968e658 100644
--- a/drivers/gpu/drm/i915/display/intel_display_device.c
+++ b/drivers/gpu/drm/i915/display/intel_display_device.c
@@ -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,
-- 
2.41.0


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

end of thread, other threads:[~2023-10-03  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 20:50 [Intel-xe] [PATCH] drm/i915: Abstract display info away during probe Rodrigo Vivi
2023-09-29 23:05 ` [Intel-xe] ✗ CI.Patch_applied: failure for " Patchwork
2023-10-02  7:41 ` [Intel-xe] [PATCH] " Jani Nikula
2023-10-02 16:13   ` Rodrigo Vivi
2023-10-02 16:58     ` Jani Nikula
2023-10-02 19:46       ` Rodrigo Vivi
2023-10-03  9:04         ` Jani Nikula

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