summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorChris Wilson2010-04-20 18:10:35 +0200
committerEric Anholt2010-05-07 22:59:28 +0200
commit1637ef413b9a5d1c14eb370f7029a5558f3bb3d3 (patch)
tree5305336bef61e0fe40b4578425609bac4f18bf96 /drivers/gpu/drm/i915/i915_debugfs.c
parentdrm/i915: Use spatio-temporal dithering on PCH (diff)
downloadkernel-qcow2-linux-1637ef413b9a5d1c14eb370f7029a5558f3bb3d3.tar.gz
kernel-qcow2-linux-1637ef413b9a5d1c14eb370f7029a5558f3bb3d3.tar.xz
kernel-qcow2-linux-1637ef413b9a5d1c14eb370f7029a5558f3bb3d3.zip
drm/i915: Wait for the GPU whilst shrinking, if truly desperate.
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: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
0 files changed, 0 insertions, 0 deletions