1. 08 5月, 2010 2 次提交
    • C
      drm/i915: Wait for the GPU whilst shrinking, if truly desperate. · 1637ef41
      Chris Wilson 提交于
      By idling the GPU and discarding everything we can when under extreme
      memory pressure, the number of OOM-killer events is dramatically
      reduced. For instance, this makes it possible to run
      firefox-planet-gnome.trace again on my swapless 512MiB i915.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      1637ef41
    • A
      drm/i915: Use spatio-temporal dithering on PCH · 0a31a448
      Adam Jackson 提交于
      Spatial dither is better than nothing, but ST is even better.
      
      (from ajax's followup message:)
        I noticed this with:
      
        http://ajax.fedorapeople.org/YellowFlower.jpg
      
        set as my desktop background in Gnome on a 1280x800 machine (in
        particular, a Sony Vaio VPCB1 with 6-bit panel and a rather bright black
        level).  Easiest way to test this is by poking at PIPEACONF with
        intel_reg_write directly:
      
        % sudo intel_reg_write 0x70008 0xc0000040 # no dither
        % sudo intel_reg_write 0x70008 0xc0000050 # spatial
        % sudo intel_reg_write 0x70008 0xc0000054 # ST
      
        I notice it especially strongly in the relatively flat dark area in the
        top left.  Closer than about 18" I can see a noticeable checkerboard
        pattern with plain spatial dithering.  ST smooths that out; I can still
        tell that it's lacking color precision, but it's not offensive.
      Signed-off-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      0a31a448
  2. 07 5月, 2010 1 次提交
  3. 27 4月, 2010 1 次提交
    • J
      drm/radeon/kms: R3XX-R4XX fix GPU reset code · a1e9ada3
      Jerome Glisse 提交于
      Previous reset code leaded to computer hard lockup (need to unplug
      the power too reboot the computer) on various configuration. This
      patch change the reset code to avoid hard lockup. The GPU reset
      is failing most of the time but at least user can log in remotely
      or properly shutdown the computer.
      
      Two issues were leading to hard lockup :
      - Writting to the scratch register lead to hard lockup most likely
      because the write back mecanism is in fuzy state after GPU lockup.
      - Resetting the GPU memory controller and not reinitializing it
      after leaded to hard lockup. We did only reinitialize in case of
      successfull reset thus unsuccessfull reset quickly leaded to hard
      lockup.
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      a1e9ada3
  4. 23 4月, 2010 3 次提交
  5. 21 4月, 2010 1 次提交
  6. 20 4月, 2010 30 次提交
  7. 19 4月, 2010 2 次提交