mirror of https://gitee.com/openkylin/linux.git
119c53d2d4
drm_gem_dumb_map_offset() now exists and does everything vgem_gem_dump_map does and *ought* to do. In particular, vgem_gem_dumb_map() was trying to reject mmapping an imported dmabuf by checking the existence of obj->filp. Unfortunately, we always allocated an obj->filp, even if unused for an imported dmabuf. Instead, the drm_gem_dumb_map_offset(), since commit |
||
---|---|---|
.. | ||
Makefile | ||
vgem_drv.c | ||
vgem_drv.h | ||
vgem_fence.c |