]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Add governor data with pre-defined thresholds
authorLukasz Luba <lukasz.luba@arm.com>
Thu, 21 Jan 2021 17:04:45 +0000 (17:04 +0000)
committerSteven Price <steven.price@arm.com>
Fri, 22 Jan 2021 14:13:31 +0000 (14:13 +0000)
commit79281ed8863f9113cb1cc80eb3de8497e13b36ba
tree5b4809dceee0d51a1dad2ed894a1c190239c4ef3
parentf40b1006f69bfe0a06a9eae3c9f414d66d2497be
drm/panfrost: Add governor data with pre-defined thresholds

The simple_ondemand devfreq governor uses two thresholds to decide about
the frequency change: upthreshold, downdifferential. These two tunable
change the behavior of the governor decision, e.g. how fast to increase
the frequency or how rapidly limit the frequency. This patch adds needed
governor data with thresholds values gathered experimentally in different
workloads.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210121170445.19761-1-lukasz.luba@arm.com
drivers/gpu/drm/panfrost/panfrost_devfreq.c
drivers/gpu/drm/panfrost/panfrost_devfreq.h