1. 23 9月, 2009 1 次提交
    • C
      drm/i915: Add tracepoints · 1c5d22f7
      Chris Wilson 提交于
      By adding tracepoint equivalents for WATCH_BUF/EXEC we are able to monitor
      the lifetimes of objects, requests and significant events. These events can
      then be probed using the tracing frameworks, such as systemtap and, in
      particular, perf.
      
      For example to record the stack trace for every GPU stall during a run, use
      
        $ perf record -e i915:i915_gem_request_wait_begin -c 1 -g
      
      And
      
        $ perf report
      
      to view the results.
      
      [Updated to fix compilation issues caused.]
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Ben Gamari <bgamari@gmail.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      1c5d22f7
  2. 18 9月, 2009 4 次提交
  3. 05 9月, 2009 1 次提交
    • S
      drm/i915: Support IGD EOS · 04302965
      Shaohua Li 提交于
      In the event that any one of the DAC analog outputs (R,G,B) were driven
      at full-scale (white video) or some analog level close to full-scale
      voltage, and if the video cable were then disconnected, the analog video
      voltage level would exceed the maximum electrical overstress limit of the
      native (thin-oxide) transistors thus causing a long-term reliability concern.
      The electrical overstress condition occurs in this particular case.
      
      This patch address the IGD EOS (electrical overstress condition) issue.
      When the EOS interrupt occurs, OS should disable DAC and then disable EOS,
      then the normal hotplug operation follows.
      
      TODO: it appears the normal unplug interrupt is missed as reported by Li Peng,
      need more checks here.
      Signed-off-by: NShaohua Li <shaohua.li@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      04302965
  4. 09 8月, 2009 1 次提交
  5. 06 8月, 2009 1 次提交
  6. 14 7月, 2009 1 次提交
  7. 02 7月, 2009 2 次提交
  8. 19 6月, 2009 1 次提交
  9. 10 6月, 2009 1 次提交
  10. 05 6月, 2009 2 次提交
  11. 18 4月, 2009 1 次提交
  12. 02 4月, 2009 1 次提交
  13. 03 3月, 2009 1 次提交
  14. 08 2月, 2009 1 次提交
  15. 11 1月, 2009 1 次提交
  16. 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
  17. 02 12月, 2008 1 次提交
  18. 25 11月, 2008 4 次提交
  19. 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
  20. 23 10月, 2008 5 次提交
  21. 18 10月, 2008 6 次提交