Message ID | 20190913122908.784-1-kraxel@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | drm: rework mmap() workflow | expand |
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.
cheers,
Gerd