media: atomisp: Add hmm_create_from_vmalloc_buf() function
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Sep 2022 17:45:46 +0000 (18:45 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:12:15 +0000 (08:12 +0000)
commit931d87d204aa17d1ee853c1c327d025ec9f7f4f7
tree17ecb8fa5729a3ade3070ecb47e6fa59329d6e78
parent813ceef062b53d68f296aa3cb944b21a091fabdb
media: atomisp: Add hmm_create_from_vmalloc_buf() function

Add a new hmm creating function to create a vmm object from a vmalloc-ed
kernel buffer. This is a preparation patch for adding videobuf2 (and
working MMAP mode) support.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/include/hmm/hmm.h
drivers/staging/media/atomisp/include/hmm/hmm_bo.h
drivers/staging/media/atomisp/pci/hmm/hmm.c
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c