1. 08 10月, 2010 1 次提交
  2. 01 10月, 2010 1 次提交
  3. 25 9月, 2010 2 次提交
    • C
      drm/i915: Adjust hangcheck EIO semantics · 30dbf0c0
      Chris Wilson 提交于
      Owain Ainsworth reported an issue between the interaction of the
      hangcheck and userspace immediately (and permanently) falling back to
      s/w rasterisation. In order to break the mutex and begin resetting the
      GPU, we must abort the current operation (usually within the wait) and
      climb sufficiently far back up the call chain to drop the mutex. In his
      implementation, Owain has a loop within the ioctl handler to detect the
      hang and then sleep until the error handler has run. I've chosen to
      return to userspace and report an EAGAIN which should trigger the
      userspace ioctl handler to repeat the call (simply because it felt less
      invasive...). Before hitting a wedged GPU, we then wait upon completion
      of the error handler.
      Reported-by: NOwain G. Ainsworth <zerooa@googlemail.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      30dbf0c0
    • C
      drm/i915: Only hold a process-local lock whilst throttling. · f787a5f5
      Chris Wilson 提交于
      Avoid cause latencies in other clients by not taking the global struct
      mutex and moving the per-client request manipulation a local per-client
      mutex. For example, this allows a compositor to schedule a page-flip
      (through X) whilst an OpenGL application is monopolising the GPU.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      f787a5f5
  4. 21 9月, 2010 5 次提交
  5. 14 9月, 2010 1 次提交
    • C
      drm/i915: Reduce hangcheck frequency · b3b079db
      Chris Wilson 提交于
      By reducing the hangcheck frequency we check less often, conserving
      resources, and still detect a lock up quickly. On a fast machine with a
      slow GPU (like a Core2 paired with a 945G) it is easy for the hangcheck to
      misfire as we check too fast.
      
      Also once hung and if we fail to completely reset the chip, we have a
      nasty habit of proclaming a hang many times a second and generating a
      strobe-like display.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      b3b079db
  6. 12 9月, 2010 1 次提交
  7. 10 9月, 2010 1 次提交
  8. 09 9月, 2010 1 次提交
  9. 08 9月, 2010 5 次提交
  10. 07 9月, 2010 1 次提交
  11. 22 8月, 2010 1 次提交
  12. 10 8月, 2010 3 次提交
  13. 02 8月, 2010 3 次提交
  14. 02 7月, 2010 2 次提交
  15. 19 6月, 2010 1 次提交
  16. 05 6月, 2010 1 次提交
    • A
      drm/i915/gen4: Fix interrupt setup ordering · c496fa1f
      Adam Jackson 提交于
      Unmask, then enable interrupts, then enable interrupt sources; matches
      PCH ordering.  The old way (sources, enable, unmask) gives a window
      during which interrupt conditions would appear in ISR but would never
      reach IIR and thus never raise an IRQ.  Since interrupts only trigger
      on rising edges in ISR, this would lead to conditions where (for
      example) output hotplugging would never fire an interrupt because it
      was already stuck on in ISR.
      
      Also, since we know IIR and PIPExSTAT have been cleared during
      irq_preinstall, don't clear them again during irq_postinstall, nothing
      good can come of that.
      Signed-off-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      c496fa1f
  17. 29 5月, 2010 1 次提交
  18. 27 5月, 2010 6 次提交
  19. 18 5月, 2010 1 次提交
    • D
      drm/fbdev: rework output polling to be back in the core. (v4) · eb1f8e4f
      Dave Airlie 提交于
      After thinking it over a lot it made more sense for the core to deal with
      the output polling especially so it can notify X.
      
      v2: drop plans for fake connector - per Michel's comments - fix X patch sent to xorg-devel, add intel polled/hpd setting, add initial nouveau polled/hpd settings.
      
      v3: add config lock take inside polling, add intel/nouveau poll init/fini calls
      
      v4: config lock was a bit agressive, only needed around connector list reading.
      otherwise it could re-enter.
      
      glisse: discard drm_helper_hpd_irq_event
      
      v3: Reviewed-by: Michel Dänzer <michel@daenzer.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      eb1f8e4f
  20. 12 5月, 2010 1 次提交
  21. 23 4月, 2010 1 次提交