drm: Make the prime vmap/vunmap hooks optional.
authorEric Anholt <eric@anholt.net>
Tue, 24 Apr 2018 00:46:08 +0000 (17:46 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Apr 2018 17:42:03 +0000 (10:42 -0700)
commitd34deab907605a81eec83afe006fad2e5b4673b4
tree80e5dd7af44bcc44215d2481b3d3e845561898e7
parent9f99963a43b735160052debbef3d99ad344db61d
drm: Make the prime vmap/vunmap hooks optional.

Some drivers leave these unimplemented, so don't make them have
unimplemented stubs.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180424004610.4637-2-eric@anholt.net
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_prime.c