Skip to content
Snippets Groups Projects
Forked from drm / msm
Source project has a limited visibility.
Steven Price's avatar
Steven Price authored
__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: mesa/mesa#7252


Fixes: 730c2bf4 ("drm/panfrost: Add support for devcoredump")
Reviewed-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: default avatarSteven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017104602.142992-3-steven.price@arm.com
72655fb9
History
Name Last commit Last update