]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70e679d13edf51f0284eab637543d41e392a248f
tree13264e0884e487da601aaafebdf3a9c7db863f9d
parent986508eee5ab13172cc1257e6e6ae267dcd6383f
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