]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Increase gpu boost interval
authorAkhil P Oommen <akhilpo@codeaurora.org>
Thu, 18 Nov 2021 10:20:29 +0000 (15:50 +0530)
committerRob Clark <robdclark@chromium.org>
Sun, 28 Nov 2021 18:00:20 +0000 (10:00 -0800)
commitc77d110a8e5dfa8e73ea7efdd5f676d4573abda6
tree2aacec4932c35c4f58ccb64ccc8ad621c3d33a38
parent3f24ed87d185050ed2b7eb008f097a74384d7820
drm/msm: Increase gpu boost interval

Currently, we boost gpu freq after 25ms of inactivity. This regresses
some of the 30 fps usecases where the workload on gpu (at 33ms internval)
is very small which it can finish at the lowest OPP before the deadline.
Lets increase this inactivity threshold to 50ms (same as the current
devfreq interval) to fix this.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Link: https://lore.kernel.org/r/20211118154903.1.I2ed37cd8ad45a5a94d9de53330f973a62bd1fb29@changeid
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gpu_devfreq.c