]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't set up HDMI ports that aren't in the BIOS device table.
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 24 Nov 2009 01:48:45 +0000 (09:48 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 00:41:48 +0000 (16:41 -0800)
commitc6dc5f13778328ad32cd2552098643fae3c4d9ec
tree9200e651c3d78ada20ba55337ee3ecf1c18f854d
parent3207cd4df9ee2672a8a4ef658ba8e3f97c06385a
drm/i915: Don't set up HDMI ports that aren't in the BIOS device table.

Use the child device array to decide whether the given HDMI output should be
initialized. If the given HDMI port can't be found in child device array,
it is not present and won't be initialized.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_hdmi.c