OpenCloudOS-Kernel/drivers/gpu/drm/panfrost
Christian Hewitt 9e3941c90e drm/panfrost: fix power transition timeout warnings
[ Upstream commit 2bd02f5a0bac4bb13e0da18652dc75ba0e4958ec ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:35:58 +02:00
..
Kconfig drm/panfrost: fix GENERIC_ATOMIC64 dependency 2023-01-18 11:09:57 +00:00
Makefile drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
TODO
panfrost_devfreq.c drm/panfrost: Skip speed binning on EOPNOTSUPP 2023-08-21 15:38:54 +01:00
panfrost_devfreq.h drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
panfrost_device.c drm: panfrost: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
panfrost_device.h drm/panfrost: Increase MAX_PM_DOMAINS to 5 2023-03-23 10:43:17 +01:00
panfrost_drv.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panfrost_dump.c drm-misc-next for 6.2: 2022-10-25 11:42:18 +10:00
panfrost_dump.h drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_features.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_gem.c drm/panfrost: Fix GEM handle creation ref-counting 2022-12-21 15:04:42 +00:00
panfrost_gem.h drm/panfrost: Fix GEM handle creation ref-counting 2022-12-21 15:04:42 +00:00
panfrost_gem_shrinker.c drm/shmem-helper: Switch to reservation lock 2023-06-21 20:22:20 +03:00
panfrost_gpu.c drm/panfrost: fix power transition timeout warnings 2024-04-10 16:35:58 +02:00
panfrost_gpu.h
panfrost_issues.h drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04:00
panfrost_job.c drm/panfrost: Sync IRQ by job's timeout handler 2023-08-10 08:41:21 +02:00
panfrost_job.h drm/panfrost: Job should reference MMU not file_priv 2022-05-25 09:14:22 +01:00
panfrost_mmu.c drm/shmem-helper: Switch to reservation lock 2023-06-21 20:22:20 +03:00
panfrost_mmu.h drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-06-24 09:25:56 +02:00
panfrost_perfcnt.c drm/gem: Take reservation lock for vmap/vunmap operations 2022-10-18 01:21:38 +03:00
panfrost_perfcnt.h
panfrost_regs.h drm/panfrost: Add specific register offset macros for JS and MMU AS 2022-08-08 12:39:19 +01:00