diff options
author | Chris Wilson <[email protected]> | 2018-06-14 10:41:03 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-06-14 14:35:13 +0100 |
commit | a2bbf714834288da0ed4668d4e4d895ffef73de2 (patch) | |
tree | c180280f5e285c4dacb1869330940b6b5a5b83e8 /lib/netdev-notifier-error-inject.c | |
parent | e62230deeeae1f096a4be2360204536caf9ad8b6 (diff) |
drm/i915/gtt: Only keep gen6 page directories pinned while active
In order to be able to evict the gen6 ppgtt, we have to unpin it at some
point. We can simply use our context activity tracking to know when the
ppgtt is no longer in use by hardware, and so only keep it pinned while
being used a request.
For the kernel_context (and thus aliasing_ppgtt), it remains pinned at
all times, as the kernel_context itself is pinned at all times.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions