1. 07 May, 2010 2 commits
    • Chris Wilson's avatar
      drm/i915: Wait for the GPU whilst shrinking, if truly desperate. · 1637ef41
      Chris Wilson authored
      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: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      1637ef41
    • Adam Jackson's avatar
      drm/i915: Use spatio-temporal dithering on PCH · 0a31a448
      Adam Jackson authored
      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: default avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      0a31a448
  2. 06 May, 2010 1 commit
  3. 26 Apr, 2010 1 commit
    • Jerome Glisse's avatar
      drm/radeon/kms: R3XX-R4XX fix GPU reset code · a1e9ada3
      Jerome Glisse authored
      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: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      a1e9ada3
  4. 23 Apr, 2010 3 commits
  5. 20 Apr, 2010 22 commits
  6. 19 Apr, 2010 11 commits