Loading Documentation/devicetree/bindings/media/video/msm-vidc.txt +2 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,8 @@ Optional properties: - qcom,fw-bias = The address at which venus fw is loaded (manually). - qcom,enable-idle-indicator = A bool to enable video hardware to generate idle message when it is in idle state. - qcom,enable-minimum-voting = A bool to limit the bandwidth vote to the lowest vector over an active session. Example: Loading drivers/media/platform/msm/vidc/msm_vidc_res_parse.c +3 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ int read_platform_resources_from_dt( res->sys_idle_indicator = of_property_read_bool(pdev->dev.of_node, "qcom,enable-idle-indicator"); res->minimum_vote = of_property_read_bool(pdev->dev.of_node, "qcom,enable-minimum-voting"); rc = msm_vidc_load_freq_table(res); if (rc) { dprintk(VIDC_ERR, "Failed to load freq table: %d\n", rc); Loading drivers/media/platform/msm/vidc/msm_vidc_resources.h +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ struct msm_vidc_platform_resources { struct clock_set clock_set; struct bus_set bus_set; bool dynamic_bw_update; bool minimum_vote; bool use_non_secure_pil; bool sw_power_collapsible; bool sys_idle_indicator; Loading drivers/media/platform/msm/vidc/venus_hfi.c +2 −1 Original line number Diff line number Diff line Loading @@ -944,7 +944,8 @@ static int venus_hfi_vote_buses(void *dev, struct vidc_bus_vote_data *data, * just lower our ocmem vote to the lowest level. */ if (strnstr(bus->pdata->name, "ocmem", strlen(bus->pdata->name))) strlen(bus->pdata->name)) || device->res->minimum_vote) bus_vector = bus_vector ?: 1; rc = msm_bus_scale_client_update_request(bus->priv, bus_vector); Loading Loading
Documentation/devicetree/bindings/media/video/msm-vidc.txt +2 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,8 @@ Optional properties: - qcom,fw-bias = The address at which venus fw is loaded (manually). - qcom,enable-idle-indicator = A bool to enable video hardware to generate idle message when it is in idle state. - qcom,enable-minimum-voting = A bool to limit the bandwidth vote to the lowest vector over an active session. Example: Loading
drivers/media/platform/msm/vidc/msm_vidc_res_parse.c +3 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ int read_platform_resources_from_dt( res->sys_idle_indicator = of_property_read_bool(pdev->dev.of_node, "qcom,enable-idle-indicator"); res->minimum_vote = of_property_read_bool(pdev->dev.of_node, "qcom,enable-minimum-voting"); rc = msm_vidc_load_freq_table(res); if (rc) { dprintk(VIDC_ERR, "Failed to load freq table: %d\n", rc); Loading
drivers/media/platform/msm/vidc/msm_vidc_resources.h +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ struct msm_vidc_platform_resources { struct clock_set clock_set; struct bus_set bus_set; bool dynamic_bw_update; bool minimum_vote; bool use_non_secure_pil; bool sw_power_collapsible; bool sys_idle_indicator; Loading
drivers/media/platform/msm/vidc/venus_hfi.c +2 −1 Original line number Diff line number Diff line Loading @@ -944,7 +944,8 @@ static int venus_hfi_vote_buses(void *dev, struct vidc_bus_vote_data *data, * just lower our ocmem vote to the lowest level. */ if (strnstr(bus->pdata->name, "ocmem", strlen(bus->pdata->name))) strlen(bus->pdata->name)) || device->res->minimum_vote) bus_vector = bus_vector ?: 1; rc = msm_bus_scale_client_update_request(bus->priv, bus_vector); Loading