diff options
author | Chris Wilson <[email protected]> | 2019-08-26 14:07:50 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2019-09-06 09:53:15 -0700 |
commit | 6e5c5272ca00809aae20817efb6f25881268b50b (patch) | |
tree | 2d5d6f77fc3677b41e49d5d5f9c6a21af456453b /net/switchdev/switchdev.c | |
parent | 9e77f5001b9833a6bdd3940df245053c2212a32b (diff) |
drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap
The intention is that we first try to pin the current vma into the
mappable aperture only if it is already in use or it fits in the free
space and will not cause contention. The first attempt was meant to be
using PIN_NOEVICT to reuse the current vma if possible, following up
with different eviction strategies.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111485
Fixes: 6846895fde05 ("drm/i915: Replace PIN_NONFAULT with calls to PIN_NOEVICT")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit ebfdf5cd806b3bbf1ff79e69bce6a28df8bbe39d)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions