aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-01-11 11:23:10 +0000
committerChris Wilson <[email protected]>2017-01-11 12:25:15 +0000
commite007b19d7ba7424735fd4f17a355b145ae153e4c (patch)
tree495b81a0281fd3d3ec3697c7c34c9d97593af1ac /scripts/patch-kernel
parentacf45d11050abd751dcec986ab121cb2367dcbba (diff)
drm/i915: Use the MRU stack search after evicting
When we evict from the GTT to make room for an object, the hole we create is put onto the MRU stack inside the drm_mm range manager. On the next search pass, we can speed up a PIN_HIGH allocation by referencing that stack for the new hole. v2: Pull together the 3 identical implements (ahem, a couple were outdated) into a common routine for allocating a node and evicting as necessary. v3: Detect invalid calls to i915_gem_gtt_insert() v4: kerneldoc Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions