drm/i915/bios: add helper functions to check output support
authorJani Nikula <jani.nikula@intel.com>
Wed, 17 Mar 2021 16:36:49 +0000 (18:36 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Mar 2021 12:43:58 +0000 (14:43 +0200)
commitd0ab409d05fe533ec8d253c2a3d9c33c650967a3
tree8b8a461c139f61b2981c9924f0efe5ca3e46eb93
parent7371fa342a126108b992485fe2b412fa0cce8c05
drm/i915/bios: add helper functions to check output support

These will be exposed to the rest of the driver and replace other
functions. Everything will operate on the child devices.

v2:
- Rebased, removed stray blank line
- Also abstracted intel_bios_encoder_supports_crt (Lucas)

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/2bd40ccc093796d16300742d1789d78ffac3c450.1615998927.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c