Commit 08fef4fa authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: atomisp: get rid of memory_access.c



Now that we have everything in place, we can get rid of the
memory_access abstraction layer.

Now, everything related to heterogeneous memory management
(hmm) is under hmm.c & related pools.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 100e8989
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@ atomisp-objs += \
	pci/hmm/hmm.o \
	pci/hmm/hmm_reserved_pool.o \
	pci/ia_css_device_access.o \
	pci/ia_css_memory_access.o \
	pci/isp/kernels/aa/aa_2/ia_css_aa2.host.o \
	pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.o \
	pci/isp/kernels/anr/anr_2/ia_css_anr2.host.o \
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@
#include "hmm/hmm_pool.h"
#include "ia_css_types.h"

#define mmgr_NULL              ((ia_css_ptr)0)
#define mmgr_EXCEPTION         ((ia_css_ptr)-1)

int hmm_pool_register(unsigned int pool_size, enum hmm_pool_type pool_type);
void hmm_pool_unregister(enum hmm_pool_type pool_type);

+2 −1
Original line number Diff line number Diff line
@@ -23,12 +23,13 @@
#include <linux/init.h>
#include <media/v4l2-event.h>

#include "hmm.h"

#include "atomisp_acc.h"
#include "atomisp_internal.h"
#include "atomisp_compat.h"
#include "atomisp_cmd.h"

#include "memory_access/memory_access.h"
#include "ia_css.h"

static const struct {
+0 −1
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@

#include "type_support.h"
#include "device_access/device_access.h"
#include "memory_access/memory_access.h"

#include "atomisp_acc.h"

+2 −1
Original line number Diff line number Diff line
@@ -12,8 +12,9 @@
 * more details.
 */

#include "hmm.h"

#include "ia_css_refcount.h"
#include "memory_access/memory_access.h"
#include "sh_css_defs.h"

#include "platform_support.h"
Loading