diff options
author | Thomas Hellstrom <[email protected]> | 2018-03-22 10:19:01 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2018-03-22 12:08:23 +0100 |
commit | bf833fd36f9bdc2c86e1fdc90318e4c99b452472 (patch) | |
tree | 58de8089e9a4951fe1fc65836499263117d25d2c /lib/memory-notifier-error-inject.c | |
parent | dc366364c4ef809dccd063919314301f8ba01ac2 (diff) |
drm/vmwgfx: Avoid pinning fbdev framebuffers
fbdev framebuffers were previously pinned to be able to keep them mapped
across updates.
This commit introduces a mechanism that instead revalidates the map on
each update, keeping the map cached across updates. The cached map is torn
down if the underlying pages change. Typically on buffer object moves and
swapouts.
This should be nicer to the system when we have resource contention.
Testing done: Basic fbdev functionality under Fedora 27.
Signed-off-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Sinclair Yeh <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Deepak Rawat <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions