drm: Make the prime vmap/vunmap hooks optional.
authorEric Anholt <[email protected]>
Tue, 24 Apr 2018 00:46:08 +0000 (17:46 -0700)
committerEric Anholt <[email protected]>
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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/drm_prime.c