@@ -949,6 +949,7 @@ static const struct venus_resources sc7180_res = {
949949 .enc_nodename = "video-encoder" ,
950950};
951951
952+ #if (!IS_ENABLED (CONFIG_VIDEO_QCOM_IRIS ))
952953static const struct freq_tbl sm8250_freq_table [] = {
953954 { 0 , 444000000 },
954955 { 0 , 366000000 },
@@ -1069,6 +1070,7 @@ static const struct venus_resources sc7280_res = {
10691070 .dec_nodename = "video-decoder" ,
10701071 .enc_nodename = "video-encoder" ,
10711072};
1073+ #endif
10721074
10731075static const struct bw_tbl qcm2290_bw_table_dec [] = {
10741076 { 352800 , 597000 , 0 , 746000 , 0 }, /* 1080p@30 + 720p@30 */
@@ -1125,11 +1127,15 @@ static const struct of_device_id venus_dt_match[] = {
11251127 { .compatible = "qcom,msm8998-venus" , .data = & msm8998_res , },
11261128 { .compatible = "qcom,qcm2290-venus" , .data = & qcm2290_res , },
11271129 { .compatible = "qcom,sc7180-venus" , .data = & sc7180_res , },
1130+ #if (!IS_ENABLED (CONFIG_VIDEO_QCOM_IRIS ))
11281131 { .compatible = "qcom,sc7280-venus" , .data = & sc7280_res , },
1132+ #endif
11291133 { .compatible = "qcom,sdm660-venus" , .data = & sdm660_res , },
11301134 { .compatible = "qcom,sdm845-venus" , .data = & sdm845_res , },
11311135 { .compatible = "qcom,sdm845-venus-v2" , .data = & sdm845_res_v2 , },
1136+ #if (!IS_ENABLED (CONFIG_VIDEO_QCOM_IRIS ))
11321137 { .compatible = "qcom,sm8250-venus" , .data = & sm8250_res , },
1138+ #endif
11331139 { }
11341140};
11351141MODULE_DEVICE_TABLE (of , venus_dt_match );
0 commit comments