On Friday 13 Mar 2020 at 17:11:45 (+0000), Lukasz Luba wrote: > --------------------------------->8---------------- > dev_pm_opp_of_register_em > ... > nr_opp = dev_pm_opp_get_opp_count(dev); > if (nr_opp <= 0) { > ret = -EINVAL; > goto fail; > } > > ... > ret = em_register_perf_domain() > if (ret) > goto fail; > > return 0; > > fail: > dev_dbg(cpu_dev, "Couldn't register Energy Model %d\n", ret); > return ret > ------------------------8<----------------- That works for me. Thanks, Quentin _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel