Skip to content
Snippets Groups Projects
Commit e86f9a60 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/xe/display: Fix module load without display IP


When the device info initialization moved to the display part, one use
case was left behind: platforms without display IP. In order to keep the
knowledge about the display in xe_display.c, xe_display_info_init()
should be the place where this is set.

Remove the warning and set the info accordingly. This moves a later
check from  intel_device_info_runtime_init() into a very earlier one,
when no HW access is being done yet.

Fixes: 2a0f49c7 ("drm/xe/display: Move device info initialization to display")
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/20230310191430.2229799-1-lucas.demarchi@intel.com
parent bbe4d6ad
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment