]> git.dujemihanovic.xyz Git - linux.git/commit
drm/panfrost: fix power transition timeout warnings
authorChristian Hewitt <christianshewitt@gmail.com>
Fri, 22 Mar 2024 16:45:25 +0000 (16:45 +0000)
committerSteven Price <steven.price@arm.com>
Thu, 28 Mar 2024 16:23:10 +0000 (16:23 +0000)
commit2bd02f5a0bac4bb13e0da18652dc75ba0e4958ec
tree8459e2ac450d3b156a5dabe29dd47aae7aab6ed9
parentaba2a144c0bf1ecdcbc520525712fb661392e509
drm/panfrost: fix power transition timeout warnings

Increase the timeout value to prevent system logs on Amlogic boards flooding
with power transition warnings:

[   13.047638] panfrost ffe40000.gpu: shader power transition timeout
[   13.048674] panfrost ffe40000.gpu: l2 power transition timeout
[   13.937324] panfrost ffe40000.gpu: shader power transition timeout
[   13.938351] panfrost ffe40000.gpu: l2 power transition timeout
...
[39829.506904] panfrost ffe40000.gpu: shader power transition timeout
[39829.507938] panfrost ffe40000.gpu: l2 power transition timeout
[39949.508369] panfrost ffe40000.gpu: shader power transition timeout
[39949.509405] panfrost ffe40000.gpu: l2 power transition timeout

The 2000 value has been found through trial and error testing with devices
using G52 and G31 GPUs.

Fixes: 22aa1a209018 ("drm/panfrost: Really power off GPU cores in panfrost_gpu_power_off()")
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240322164525.2617508-1-christianshewitt@gmail.com
drivers/gpu/drm/panfrost/panfrost_gpu.c