OSDN Git Service

drm/i915/lvds: only call intel_lvds_init() on platforms that might have LVDS
authorJani Nikula <jani.nikula@intel.com>
Tue, 22 Jan 2019 08:23:02 +0000 (10:23 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 24 Jan 2019 07:29:23 +0000 (09:29 +0200)
commit0fafa22692773e950182cba48cd886fe93ec14c8
tree13264e0884e487da601aaafebdf3a9c7db863f9d
parent63cb4e641af1e81796a9e45c10a17a88742b5a2d
drm/i915/lvds: only call intel_lvds_init() on platforms that might have LVDS

With new platforms not having LVDS support, only call intel_lvds_init()
on platforms that might actually have LVDS. Move the comment about eDP
init to the PCH block where it's relevant.

This puts intel_lvds_init() more in line with the rest of the outputs,
and makes it slightly easier for the uninitiated to figure out which
platforms actually have what.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190122082307.4003-2-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_display.c