video: driver: select target and vpu variant based on dtsi
- enable conditional compilation based on defconfig - compile only needed files based target & vpu variant - enabled stubs to avoid compilation issues, for all target variant and vpu types - add support for qcv(same lunch combo) for different PT & VT chipsets. Change-Id: Ic446349fd1532885d7a2e94895d807c62f1ab6e4 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
@@ -8,7 +8,18 @@
|
||||
|
||||
#include "msm_vidc_core.h"
|
||||
|
||||
int msm_vidc_init_platform_waipio(struct msm_vidc_core *core);
|
||||
int msm_vidc_deinit_platform_waipio(struct msm_vidc_core *core);
|
||||
#if defined(CONFIG_MSM_VIDC_WAIPIO)
|
||||
int msm_vidc_init_platform_waipio(struct msm_vidc_core *core, struct device *dev);
|
||||
int msm_vidc_deinit_platform_waipio(struct msm_vidc_core *core, struct device *dev);
|
||||
#else
|
||||
int msm_vidc_init_platform_waipio(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
int msm_vidc_deinit_platform_waipio(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _MSM_VIDC_WAIPIO_H_
|
||||
|
@@ -1464,7 +1464,7 @@ static int msm_vidc_init_data(struct msm_vidc_core *core)
|
||||
return rc;
|
||||
}
|
||||
|
||||
int msm_vidc_init_platform_waipio(struct msm_vidc_core *core)
|
||||
int msm_vidc_init_platform_waipio(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
@@ -1475,7 +1475,7 @@ int msm_vidc_init_platform_waipio(struct msm_vidc_core *core)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int msm_vidc_deinit_platform_waipio(struct msm_vidc_core *core)
|
||||
int msm_vidc_deinit_platform_waipio(struct msm_vidc_core *core, struct device *dev)
|
||||
{
|
||||
/* do nothing */
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user