Loading drivers/gpu/msm/adreno.c +3 −1 Original line number Diff line number Diff line Loading @@ -852,13 +852,13 @@ static int adreno_of_get_pwrlevels(struct adreno_device *adreno_dev, struct device_node *parent) { struct device_node *node, *child; unsigned int bin = 0; node = of_find_node_by_name(parent, "qcom,gpu-pwrlevel-bins"); if (node == NULL) return adreno_of_get_legacy_pwrlevels(adreno_dev, parent); for_each_child_of_node(node, child) { unsigned int bin; if (of_property_read_u32(child, "qcom,speed-bin", &bin)) continue; Loading @@ -874,6 +874,8 @@ static int adreno_of_get_pwrlevels(struct adreno_device *adreno_dev, } } KGSL_CORE_ERR("GPU speed_bin:%d mismatch for efused bin:%d\n", adreno_dev->speed_bin, bin); return -ENODEV; } Loading Loading
drivers/gpu/msm/adreno.c +3 −1 Original line number Diff line number Diff line Loading @@ -852,13 +852,13 @@ static int adreno_of_get_pwrlevels(struct adreno_device *adreno_dev, struct device_node *parent) { struct device_node *node, *child; unsigned int bin = 0; node = of_find_node_by_name(parent, "qcom,gpu-pwrlevel-bins"); if (node == NULL) return adreno_of_get_legacy_pwrlevels(adreno_dev, parent); for_each_child_of_node(node, child) { unsigned int bin; if (of_property_read_u32(child, "qcom,speed-bin", &bin)) continue; Loading @@ -874,6 +874,8 @@ static int adreno_of_get_pwrlevels(struct adreno_device *adreno_dev, } } KGSL_CORE_ERR("GPU speed_bin:%d mismatch for efused bin:%d\n", adreno_dev->speed_bin, bin); return -ENODEV; } Loading