]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Increase the AS_ACTIVE polling timeout
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 30 Jun 2021 06:27:51 +0000 (08:27 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 1 Jul 2021 06:53:38 +0000 (08:53 +0200)
commit4347bf12761ad63810768b4653091a88f1dd1a3e
treea02cf83bc22cd6b621785419e7cd66c32049895b
parent49e4b8ee9e0bfeaab69da07a881793f399c887c6
drm/panfrost: Increase the AS_ACTIVE polling timeout

Experience has shown that 1ms is sometimes not enough, even when the GPU
is running at its maximum frequency, not to mention that an MMU operation
might take longer if the GPU is running at a lower frequency, which is
likely to be the case if devfreq is active.

Let's pick a significantly bigger timeout value (1ms -> 100ms) to be on
the safe side.

v5:
* New patch

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210630062751.2832545-17-boris.brezillon@collabora.com
drivers/gpu/drm/panfrost/panfrost_mmu.c