diff options
author | Chris Wilson <[email protected]> | 2010-04-20 17:10:35 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-05-07 13:59:28 -0700 |
commit | 1637ef413b9a5d1c14eb370f7029a5558f3bb3d3 (patch) | |
tree | 5305336bef61e0fe40b4578425609bac4f18bf96 /lib/string_helpers.c | |
parent | 0a31a448659d48cbc38f5e7520d8a65f8f1f8276 (diff) |
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 <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions