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)
commit1f8644d56e91f1c3cbeb1a36c3a998397d06b9dc
tree5b4809dceee0d51a1dad2ed894a1c190239c4ef3
parenta78e7a51d2fa9d2f482b462be4299784c884d988
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