drm/i915: Abstract display info away during probe
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 29 Sep 2023 20:50:23 +0000 (16:50 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 2 Oct 2023 16:01:42 +0000 (12:01 -0400)
commit4c7690614c8bbd6cd29b949f9084ddb294ffe284
tree7c1ff4ce5dd93227152f32a8f13cd27c89c16b32
parentf52d1493dfbf9ba421bb3f84a798cc309128b728
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: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230929205023.1202735-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/display/intel_display_device.c