
enable synx dependency Change-Id: Iaf60e8478df52f65a5ae401e038d1692f5a37939 Signed-off-by: Yu SI <quic_ysi@quicinc.com>
52 linhas
897 B
C
52 linhas
897 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>
|
|
#include <linux/gunyah/gh_rm_drv.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_TVM
|
|
|
|
#else /* LA target starts here */
|
|
|
|
#ifdef CONFIG_EVA_KALAMA
|
|
#define CVP_SYNX_ENABLED 1
|
|
#define CVP_MMRM_ENABLED 1
|
|
#define CVP_FASTRPC_ENABLED 1
|
|
#endif /* End of CONFIG_EVA_KALAMA */
|
|
|
|
#ifdef CONFIG_EVA_PINEAPPLE
|
|
#define CVP_MMRM_ENABLED 1
|
|
#define CVP_CONFIG_SYNX_V2 1
|
|
#define CVP_SYNX_ENABLED 1
|
|
#define CVP_FASTRPC_ENABLED 1
|
|
#endif /* End of CONFIG_EVA_PINEAPPLE */
|
|
|
|
|
|
#ifdef CONFIG_EVA_WAIPIO
|
|
#define CVP_MINIDUMP_ENABLED 1
|
|
#endif
|
|
|
|
#endif /* End CONFIG_EVA_TVM */
|
|
|
|
#endif
|