aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-06-14 14:43:15 +0100
committerChris Wilson <[email protected]>2018-06-14 19:20:33 +0100
commit4a192c7e8b14a2bf8f30b1fac3599a7d391dfcf9 (patch)
treeedd6b70d40df46eaddb1763090ae88a89cbc0fdc /lib/test-string_helpers.c
parent549fe88bf71d30563f20dcfd7970b7424bf07907 (diff)
drm/i915/gtt: Free unused page tables on unbind the context
As we cannot reliably change used page tables while the context is active, the earliest opportunity we have to recover excess pages is when the context becomes idle. So whenever we unbind the context (it must be idle, and indeed being evicted) free the unused ptes. Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Reviewed-by: Joonas Lahtinen <[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