OSDN Git Service

drm/i915: Call encoder hotplug for init and resume cases
authorSonika Jindal <sonika.jindal@intel.com>
Mon, 5 Oct 2015 11:13:14 +0000 (16:43 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Oct 2015 08:25:55 +0000 (10:25 +0200)
commit5d250b05918c002b63632c7db91c3c5f924c6a3b
treeadbf2b0c012615d8e4a02290d67ce195e19a53a5
parent068127601eefa0565f4b2f4d82750cad9e37000c
drm/i915: Call encoder hotplug for init and resume cases

For all the encoders, call the hot_plug if it is registered.
This is required for connected boot and resume cases to generate
fake hpd resulting in reading of edid.
Removing the initial sdvo hot_plug call too so that it will be called
just once from this loop.

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hotplug.c
drivers/gpu/drm/i915/intel_sdvo.c