]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bios: create fake child devices on missing VBT
authorJani Nikula <jani.nikula@intel.com>
Wed, 17 Mar 2021 16:36:46 +0000 (18:36 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Mar 2021 12:43:42 +0000 (14:43 +0200)
commit51f5748179d47609e3fb62dc69cf58a879ce1bb5
treed677cf27b541ff083e8df43bea3c76521c39c09d
parent3ae04c0c7e63d266b48b6dff8a9e2375f6120570
drm/i915/bios: create fake child devices on missing VBT

Instead of initialing data directly in ddi_port_info array, create fake
child devices for default outputs when the VBT is missing. This makes
further unification of output handling easier.

This will make intel_bios_is_port_present() return true for the fake
child devices. This may cause subtle changes in a handful of places.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/91675b40a78bd04bf138598d979661257181880d.1615998927.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c