1. 03 3月, 2009 1 次提交
  2. 08 2月, 2009 1 次提交
  3. 11 1月, 2009 1 次提交
  4. 29 12月, 2008 2 次提交
    • J
      DRM: i915: add mode setting support · 79e53945
      Jesse Barnes 提交于
      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: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      79e53945
    • D
      drm: move to kref per-master structures. · 7c1c2871
      Dave Airlie 提交于
      This is step one towards having multiple masters sharing a drm
      device in order to get fast-user-switching to work.
      
      It splits out the information associated with the drm master
      into a separate kref counted structure, and allocates this when
      a master opens the device node. It also allows the current master
      to abdicate (say while VT switched), and a new master to take over
      the hardware.
      
      It moves the Intel and radeon drivers to using the sarea from
      within the new master structures.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7c1c2871
  5. 02 12月, 2008 1 次提交
  6. 25 11月, 2008 4 次提交
  7. 11 11月, 2008 2 次提交
    • K
      drm/i915: Move legacy breadcrumb out of the reserved status page area · 0baf823a
      Keith Packard 提交于
      Addresses in the hardware status page below index 0x20 are reserved for use
      by the hardware. The legacy breadcrumb was sitting at index 5. Move it to
      index 0x21, and make sure everyone uses the defined value instead of
      hard-coded constants.
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      0baf823a
    • E
      i915: Remove racy delayed vblank swap ioctl. · bd95e0a4
      Eric Anholt 提交于
      When userland detected that this ioctl was supported (by version number check),
      it used it in a racy way -- dispatch delayed swap, wait for vblank, continue
      rendering. As there was no mechanism for it to wait for the swap to finish,
      sometimes it would render before the swap and garbage would be displayed on
      the screen.
      
      By removing the ioctl and returning -EINVAL, userland returns to its previous,
      correct rendering path of waiting for a vblank then dispatching a swap.  The
      only path that could have used this ioctl correctly was page flipping, which
      relied on only one client running and emitting wait-for-vblank-before-rendering
      in the command stream.  That path also falls back correctly, at the performance
      cost of not being able to queue up rendering before the flip occurs.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      bd95e0a4
  8. 23 10月, 2008 5 次提交
  9. 18 10月, 2008 8 次提交
  10. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c0e09200
  11. 03 7月, 2008 1 次提交
  12. 07 5月, 2008 1 次提交
  13. 26 4月, 2008 3 次提交
  14. 07 2月, 2008 3 次提交
  15. 15 10月, 2007 4 次提交
  16. 28 9月, 2007 1 次提交
  17. 11 7月, 2007 1 次提交