mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
It's duplicating (without using some of the helpers) drm_gem_mmap with
the addition that it can redirect to drm-buf mmap support. But prime
import/export was dropped in
commit 990ed27207
Author: Rob Clark <[email protected]>
Date: Thu May 21 11:58:30 2015 -0400
drm/vgem: drop DRIVER_PRIME (v2)
for now, so this is dead code. And since I want to rework the locking
for drm_gem_mmap it seems simpler to de-dupe this code for now and
then start over with the reworked one again, if we want to resurrect
this all indeed.
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://mid.gmane.org/[email protected]
Acked-by: Rob Clark <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>