Commit 4c769061 authored by Rodrigo Vivi's avatar Rodrigo Vivi

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 <jani.nikula@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230929205023.1202735-1-rodrigo.vivi@intel.com
parent f52d1493
...@@ -926,7 +926,7 @@ void intel_display_device_probe(struct drm_i915_private *i915) ...@@ -926,7 +926,7 @@ void intel_display_device_probe(struct drm_i915_private *i915)
else else
info = probe_display(i915); info = probe_display(i915);
i915->display.info.__device_info = info; DISPLAY_INFO(i915) = info;
memcpy(DISPLAY_RUNTIME_INFO(i915), memcpy(DISPLAY_RUNTIME_INFO(i915),
&DISPLAY_INFO(i915)->__runtime_defaults, &DISPLAY_INFO(i915)->__runtime_defaults,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment