[PATCH 0/8] drm: rework mmap() workflow

Gerd Hoffmann kraxel at redhat.com
Fri Sep 13 12:37:49 UTC 2019

On Fri, Sep 13, 2019 at 02:29:00PM +0200, Gerd Hoffmann wrote:
> Add mmap callback to drm_object

Oops, hit sent to early.  This should have been this:

Add mmap callback to struct drm_gem_object_funcs, which is supposed to
handle the vma setup.  It will be used by both normal fops->mmap (via
drm_gem_mmap_obj()) and prime mmap (via drm_gem_prime_mmap()).

For starters the shmem and vram helpers are switched over to the new
workflow, to show things in action for review.


More information about the dri-devel mailing list