drm/v3d: use new return type vm_fault_t in v3d_gem_fault
authorSouptick Joarder <jrdr.linux@gmail.com>
Wed, 4 Jul 2018 14:55:57 +0000 (20:25 +0530)
committerEric Anholt <eric@anholt.net>
Thu, 5 Jul 2018 18:42:40 +0000 (11:42 -0700)
commit408633d2e740221204100efb9c3eed71f39aacd0
tree3693985d205228147cf8cd3236638aa27a9580bd
parent0b7510d15e14ba628ab9bacd6516e3f6a35ba21f
drm/v3d: use new return type vm_fault_t in v3d_gem_fault

Instead of converting an errno into a vm_fault_t ourselves, use
vmf_insert_mixed() which returns a vm_fault_t directly.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180704145556.GA11036@jordon-HP-15-Notebook-PC
Reviewed-by: Matthew Wilcox <willy@infradead.org>
drivers/gpu/drm/v3d/v3d_bo.c
drivers/gpu/drm/v3d/v3d_drv.h