diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 10:19:01 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 12:08:23 +0100 |
commit | bf833fd36f9bdc2c86e1fdc90318e4c99b452472 (patch) | |
tree | 58de8089e9a4951fe1fc65836499263117d25d2c /drivers/mfd/tps68470.c | |
parent | dc366364c4ef809dccd063919314301f8ba01ac2 (diff) | |
download | linux-bf833fd36f9bdc2c86e1fdc90318e4c99b452472.tar.bz2 |
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 <thellstrom@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'drivers/mfd/tps68470.c')
0 files changed, 0 insertions, 0 deletions