drm/via: use get_user_pages_unlocked()
authorLorenzo Stoakes <lstoakes@gmail.com>
Mon, 27 Feb 2017 21:50:08 +0000 (21:50 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Feb 2017 09:00:50 +0000 (10:00 +0100)
commit0eb9acda36ac41e43afd152a96c2e769200bc264
tree72241712b927da7eef78890a7a5735eea511463b
parentac7d3af84b24eb20d2ac945c525147d24d7b230b
drm/via: use get_user_pages_unlocked()

Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code
and takes advantage of VM_FAULT_RETRY functionality when faulting in pages.

Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170227215008.21457-1-lstoakes@gmail.com
drivers/gpu/drm/via/via_dmablit.c