kernel_optimize_test/drivers/gpu/drm/i915
Jesse Barnes 79e539453b DRM: i915: add mode setting support
This commit adds i915 driver support for the DRM mode setting APIs.
Currently, VGA, LVDS, SDVO DVI & VGA, TV and DVO LVDS outputs are
supported.  HDMI, DisplayPort and additional SDVO output support will
follow.

Support for the mode setting code is controlled by the new 'modeset'
module option.  A new config option, CONFIG_DRM_I915_KMS controls the
default behavior, and whether a PCI ID list is built into the module for
use by user level module utilities.

Note that if mode setting is enabled, user level drivers that access
display registers directly or that don't use the kernel graphics memory
manager will likely corrupt kernel graphics memory, disrupt output
configuration (possibly leading to hangs and/or blank displays), and
prevent panic/oops messages from appearing.  So use caution when
enabling this code; be sure your user level code supports the new
interfaces.

A new SysRq key, 'g', provides emergency support for switching back to
the kernel's framebuffer console; which is useful for testing.

Co-authors: Dave Airlie <airlied@linux.ie>, Hong Liu <hong.liu@intel.com>

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-12-29 17:47:23 +10:00
..
dvo_ch7xxx.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ch7017.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ivch.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_sil164.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_tfp410.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_dma.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_drv.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_drv.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c drm/i915: Add /proc debugging entry for reading out the HWS. 2008-12-29 17:47:22 +10:00
i915_gem_tiling.c drm/i915: add GEM GTT mapping support 2008-12-29 17:47:23 +10:00
i915_gem.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_mem.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
i915_opregion.c drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. 2008-11-25 09:27:24 +10:00
i915_reg.h drm/i915: add GEM GTT mapping support 2008-12-29 17:47:23 +10:00
i915_suspend.c drm/i915: Save/restore HWS_PGA on suspend/resume 2008-11-26 15:47:25 +10:00
intel_bios.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_bios.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_crt.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_display.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_drv.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_dvo.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_fb.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_i2c.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_lvds.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_modes.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_sdvo_regs.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_sdvo.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_tv.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
Makefile DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00