|
@@ -247,7 +247,8 @@ static int msm_vidc_deinit_platform_variant(struct msm_vidc_core *core, struct d
|
|
|
}
|
|
|
#endif
|
|
|
#if defined(CONFIG_MSM_VIDC_PINEAPPLE)
|
|
|
- if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc")) {
|
|
|
+ if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc") ||
|
|
|
+ of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc-v2")) {
|
|
|
rc = msm_vidc_deinit_platform_pineapple(core, dev);
|
|
|
if (rc)
|
|
|
d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
@@ -295,7 +296,8 @@ static int msm_vidc_init_platform_variant(struct msm_vidc_core *core, struct dev
|
|
|
}
|
|
|
#endif
|
|
|
#if defined(CONFIG_MSM_VIDC_PINEAPPLE)
|
|
|
- if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc")) {
|
|
|
+ if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc") ||
|
|
|
+ of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc-v2")) {
|
|
|
rc = msm_vidc_init_platform_pineapple(core, dev);
|
|
|
if (rc)
|
|
|
d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
@@ -343,7 +345,8 @@ static int msm_vidc_deinit_vpu(struct msm_vidc_core *core, struct device *dev)
|
|
|
}
|
|
|
#endif
|
|
|
#if defined(CONFIG_MSM_VIDC_IRIS33)
|
|
|
- if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc")) {
|
|
|
+ if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc") ||
|
|
|
+ of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc-v2")) {
|
|
|
rc = msm_vidc_deinit_iris33(core);
|
|
|
if (rc)
|
|
|
d_vpr_e("%s: failed with %d\n", __func__, rc);
|
|
@@ -380,7 +383,8 @@ static int msm_vidc_init_vpu(struct msm_vidc_core *core, struct device *dev)
|
|
|
}
|
|
|
#endif
|
|
|
#if defined(CONFIG_MSM_VIDC_IRIS33)
|
|
|
- if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc")) {
|
|
|
+ if (of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc") ||
|
|
|
+ of_device_is_compatible(dev->of_node, "qcom,sm8650-vidc-v2")) {
|
|
|
rc = msm_vidc_init_iris33(core);
|
|
|
if (rc)
|
|
|
d_vpr_e("%s: failed with %d\n", __func__, rc);
|