OSDN Git Service

drm/vkms: Drop custom vkms_dumb_map().
authorEric Anholt <eric@anholt.net>
Mon, 26 Nov 2018 21:59:28 +0000 (13:59 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 27 Nov 2018 20:23:32 +0000 (12:23 -0800)
commit08f73d668048ffa3ba6b1426b6ba0a89b16aefd7
tree74991749982507aeff45de15539ea2111e3d72a9
parent8f1cd826641d677d0f7494253ecfc3335f0bcd4e
drm/vkms: Drop custom vkms_dumb_map().

This is the same as the default drm_gem_dumb_map_offset()
implementation, except that this one missed the ban on userspace
mapping an imported dmabuf (which seems like intended common behavior
for drivers).

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181126215929.20546-1-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/vkms/vkms_drv.c
drivers/gpu/drm/vkms/vkms_drv.h
drivers/gpu/drm/vkms/vkms_gem.c