mirror_ubuntu-kernels/drivers/gpu/drm/panfrost
Steven Price 72655fb942 drm/panfrost: replace endian-specific types with native ones
__le32 and __le64 types aren't portable and are not available on
FreeBSD (which uses the same uAPI).

Instead of attempting to always output little endian, just use native
endianness in the dumps. Tools can detect the endianness in use by
looking at the 'magic' field, but equally we don't expect big-endian to
be used with Mali (there are no known implementations out there).

Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7252
Fixes: 730c2bf4ad ("drm/panfrost: Add support for devcoredump")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017104602.142992-3-steven.price@arm.com
2022-10-20 11:02:11 +01:00
..
Kconfig drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
Makefile drm/panfrost: Add support for devcoredump 2022-08-08 12:39:55 +01:00
panfrost_devfreq.c drm/panfrost: devfreq: set opp to the recommended one to configure regulator 2022-09-08 11:03:52 +01:00
panfrost_devfreq.h drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
panfrost_device.c drm/panfrost: Handle HW_ISSUE_TTRX_3076 2022-05-26 09:53:01 -04:00
panfrost_device.h drm/panfrost: Queue jobs on the hardware 2021-07-01 08:53:37 +02:00
panfrost_drv.c More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
panfrost_dump.c drm/panfrost: replace endian-specific types with native ones 2022-10-20 11:02:11 +01: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 mm: shrinkers: provide shrinkers with names 2022-07-03 18:08:40 -07:00
panfrost_gem.c drm/gem-shmem: Set vm_ops in static initializer 2022-02-14 09:42:01 +01:00
panfrost_gem.h
panfrost_gpu.c drm/panfrost: Add Mali-G57 "Natt" support 2022-05-26 09:53:38 -04: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 Merge tag 'drm-misc-next-2022-09-09' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2022-09-11 22:03:07 +10: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 dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08: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