drm/lima: add governor data with pre-defined thresholds
authorChristian Hewitt <christianshewitt@gmail.com>
Wed, 27 Jan 2021 19:40:47 +0000 (19:40 +0000)
committerQiang Yu <yuq825@gmail.com>
Sun, 7 Feb 2021 12:55:08 +0000 (20:55 +0800)
commit1d048afe7e52462d6b2a31dd6ee09c4475f39b4b
tree4b55549793ccf95592c66605a3a42638e9fb6a87
parent904beebb3eb501e473d23f59de9c2d5173564a24
drm/lima: add governor data with pre-defined thresholds

This patch adapts the panfrost pre-defined thresholds change [0] to the
lima driver to improve real-world performance. The upthreshold value has
been set to ramp GPU frequency to max freq faster (compared to panfrost)
to compensate for the lower overall performance of utgard devices.

[0] https://patchwork.kernel.org/project/dri-devel/patch/20210121170445.19761-1-lukasz.luba@arm.com/

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210127194047.21462-1-christianshewitt@gmail.com
drivers/gpu/drm/lima/lima_devfreq.c
drivers/gpu/drm/lima/lima_devfreq.h