mirror_ubuntu-kernels/drivers/gpu/drm/panfrost
AngeloGioacchino Del Regno 7d690f936e drm/panfrost: Add basic support for speed binning
Some SoCs implementing ARM Mali GPUs are subject to speed binning:
this means that some versions of the same SoC model may need to be
limited to a slower frequency compared to the other:
this is being addressed by reading nvmem (usually, an eFuse array)
containing a number that identifies the speed binning of the chip,
which is usually related to silicon quality.

To address such situation, add basic support for reading the
speed-bin through nvmem, as to make it possible to specify the
supported hardware in the OPP table for GPUs.
This commit also keeps compatibility with any platform that does
not specify (and does not even support) speed-binning.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323090822.61766-3-angelogioacchino.delregno@collabora.com
2023-03-31 11:44:11 +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
panfrost_devfreq.c drm/panfrost: Add basic support for speed binning 2023-03-31 11:44:11 +02: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/panfrost: Add support for Mali on the MT8186 SoC 2023-03-23 10:43:20 +01: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_shrinker.c Revert "drm/shmem-helper: Switch to reservation lock" 2023-02-28 16:41:32 +01: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_gpu.c drm/panfrost: Add the MT8192 GPU ID 2023-03-23 10:43:17 +01: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: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_job.h drm/panfrost: Job should reference MMU not file_priv 2022-05-25 09:14:22 +01:00
panfrost_mmu.c Revert "drm/shmem-helper: Switch to reservation lock" 2023-02-28 16:41:32 +01: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
TODO