aboutsummaryrefslogtreecommitdiff
path: root/linux-core/intel_display.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-04-08 12:42:23 -0700
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-04-08 12:42:23 -0700
commit5a3ce06f3a3dfa9412b9660c1e1f35d24c815dbb (patch)
tree0f6ca1b7e7be62776ea71135fa3272751a28f969 /linux-core/intel_display.c
parent09e637848a6afa54a091c4c70fdfbfbdce7ac805 (diff)
Improved DRM sysfs support
This patch ties outputs, output properties and hotplug events into the DRM core. Each output has a corresponding directory under the primary DRM device (usually card0) containing dpms, edid, modes, and connection status files. New hotplug change events occur when outputs are added or hotplug events are detected.
Diffstat (limited to 'linux-core/intel_display.c')
-rw-r--r--linux-core/intel_display.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index fa2b9bea..0615c1c4 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -1292,7 +1292,10 @@ static void intel_setup_outputs(struct drm_device *dev)
intel_sdvo_init(dev, SDVOB);
intel_sdvo_init(dev, SDVOC);
}
-
+#if 0
+ if (IS_I9XX(dev) && !IS_I915G(dev))
+ intel_tv_init(dev);
+#endif
list_for_each_entry(output, &dev->mode_config.output_list, head) {
struct intel_output *intel_output = output->driver_private;
int crtc_mask = 0, clone_mask = 0;