video: driver: Add support for kalama/iris3 platform
Add the required config and platform files to enable kalama platform with iris3 VPU. Change-Id: Ia65d2212b946d0d37fc99e30e25fe408882bdec3 Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
This commit is contained in:
26
driver/platform/kalama/inc/msm_vidc_kalama.h
Normal file
26
driver/platform/kalama/inc/msm_vidc_kalama.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _MSM_VIDC_KALAMA_H_
|
||||
#define _MSM_VIDC_KALAMA_H_
|
||||
|
||||
#include "msm_vidc_core.h"
|
||||
|
||||
#if defined(CONFIG_MSM_VIDC_KALAMA)
|
||||
int msm_vidc_init_platform_kalama(struct msm_vidc_core *core, struct device *dev);
|
||||
int msm_vidc_deinit_platform_kalama(struct msm_vidc_core *core, struct device *dev);
|
||||
#else
|
||||
int msm_vidc_init_platform_kalama(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
int msm_vidc_deinit_platform_kalama(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _MSM_VIDC_KALAMA_H_
|
مرجع در شماره جدید
Block a user