aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-10-04 14:39:57 +0100
committerChris Wilson <[email protected]>2019-10-04 15:39:02 +0100
commit11331125e1480ff786be9d2051301401b652bbe1 (patch)
tree5ff29568699ff42139eb21e87cd22fd82b2206d3 /lib/test-string_helpers.c
parent5e053450c1c3af316aef9a96dc88f52cd803d1ee (diff)
drm/i915: Mark up address spaces that may need to allocate
Since we cannot allocate underneath the vm->mutex (it is used in the direct-reclaim paths), we need to shift the allocations off into a mutexless worker with fence recursion prevention. To know when we need this protection, we mark up the address spaces that do allocate before insertion. In the future, we may wish to extend the async bind scheme to more than just allocations. v2: s/vm->bind_alloc/vm->bind_async_flags/ Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions