
Define CONFIG_EVA_LE compiler flag. Add separate VM support module. Define stub functions to initialize synx function table in case SYNX is disabled. Change-Id: I0f6b28cbd2a43cbb7f464629a329581a73c4de89 Signed-off-by: George Shen <quic_sqiao@quicinc.com>
41 righe
612 B
C
41 righe
612 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_COMM_DEF_H_
|
|
#define _MSM_COMM_DEF_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum op_mode {
|
|
OP_NORMAL,
|
|
OP_DRAINING,
|
|
OP_FLUSH,
|
|
OP_INVALID,
|
|
};
|
|
|
|
enum queue_state {
|
|
QUEUE_INIT,
|
|
QUEUE_ACTIVE = 1,
|
|
QUEUE_START,
|
|
QUEUE_STOP,
|
|
QUEUE_INVALID,
|
|
};
|
|
|
|
#ifdef CONFIG_EVA_LE
|
|
|
|
#else /* LA target starts here */
|
|
|
|
#define CVP_SYNX_ENABLED 1
|
|
#define CVP_MMRM_ENABLED 1
|
|
#define CVP_FASTRPC_ENABLED 1
|
|
|
|
#ifdef CONFIG_EVA_WAIPIO
|
|
#define CVP_MINIDUMP_ENABLED 1
|
|
#endif
|
|
|
|
#endif /* End CONFIG_EVA_LE */
|
|
|
|
#endif
|