
Add framework for future implementation. Change-Id: I2ba070e791320e56339c632120ffa821e57db113 Signed-off-by: George Shen <quic_sqiao@quicinc.com>
42 sor
650 B
C
42 sor
650 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 */
|
|
|
|
#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_TVM */
|
|
|
|
#endif
|