diff options
author | Chris Wilson <[email protected]> | 2021-01-25 13:21:58 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2021-02-02 13:39:02 +0200 |
commit | 761c70a52586a9214b29026d384d2c01b73661a8 (patch) | |
tree | 7ccc24222521b0d078eea849601928b936899174 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | e4747cb3ec3c232d65c84cbe77633abd5871fda3 (diff) |
drm/i915/gem: Drop lru bumping on display unpinning
Simplify the frontbuffer unpin by removing the lock requirement. The LRU
bumping was primarily to protect the GTT from being evicted and from
frontbuffers being eagerly shrunk. Now we protect frontbuffers from the
shrinker, and we avoid accidentally evicting from the GTT, so the
benefit from bumping LRU is no more, and we can save more time by not.
Reported-and-tested-by: Matti Hämäläinen <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2905
Fixes: c1793ba86a41 ("drm/i915: Add ww locking to pin_to_display_plane, v2.")
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 14ca83eece9565a2d2177291ceb122982dc38420)
Cc: Joonas Lahtinen <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: <[email protected]> # v5.10+
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions