]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfc816655236cd9da162356e96e74c7cfb0834d92
tree9200e651c3d78ada20ba55337ee3ecf1c18f854d
parent6363ee6f496eb7e3b3f78dc105e522c7b496089b
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