PM / EM: introduce em_dev_register_perf_domain function
authorLukasz Luba <lukasz.luba@arm.com>
Wed, 27 May 2020 09:58:48 +0000 (10:58 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Jun 2020 15:14:07 +0000 (17:14 +0200)
commit7d9895c7fbfc9c70afce7029b7de0f3f974adb88
tree3831e3a1869c570d85faa35c064f727dc99ad3e8
parent521b512b157a1315ff2bf11c11ab184c79515aea
PM / EM: introduce em_dev_register_perf_domain function

Add now function in the Energy Model framework which is going to support
new devices. This function will help in transition and make it smoother.
For now it still checks if the cpumask is a valid pointer, which will be
removed later when the new structures and infrastructure will be ready.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Quentin Perret <qperret@google.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/energy_model.h
kernel/power/energy_model.c