summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_swmthd.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-06-13 11:33:27 -0700
committerKeith Packard <keithp@keithp.com>2008-06-13 14:29:46 -0700
commit6b2cba1ecc5f9f289b5d91e229b7f7b0999bee5b (patch)
treef95fc23a88a8dd1f89ab5fe889bae51a4ebdc0d0 /shared-core/nouveau_swmthd.c
parent3762c9ea6754763694b1de4df3acd9dc37247f87 (diff)
[intel-gem] evict_something was failing when wait_request freed objects
When i915_wait_request clears object from the active list, it may end up freeing them and not moving them to the inactive list. This ends up unbinding objects from the GTT without there ever being new objects visible to i915_gem_evict_something on the inactive list. As the only success condition required the presence of objects on the inactive list, this would falsely assume that no GTT space had been made available, and end up returning -ENOMEM to the application.
Diffstat (limited to 'shared-core/nouveau_swmthd.c')
0 files changed, 0 insertions, 0 deletions