drm/i915/bios: drop has_mipi in favor of intel_bios_is_dsi_present
authorJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 10:43:34 +0000 (12:43 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 16:28:57 +0000 (18:28 +0200)
commit7caaef332abaae872ddd2cd65bbe8a8bc0d8f5cc
tree1acfd0a979526e5a185d5903412a461bdac17960
parent92c4565e93609314b34bb810ba54cb73eb006987
drm/i915/bios: drop has_mipi in favor of intel_bios_is_dsi_present

Favor a single point of truth instead of duplicating the
information. The change also filters out unsupported DSI ports at this
stage, accepting only ports A and C, instead of waiting until the port
checks.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458125015-7931-6-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c