diff options
| author | José Expósito <[email protected]> | 2022-07-27 01:09:13 +0200 |
|---|---|---|
| committer | José Expósito <[email protected]> | 2022-07-28 18:36:43 +0200 |
| commit | 18c8485236a5e3f491b670c018ae391c9cb84dfa (patch) | |
| tree | cfe7b52dbbb4708db42bff7535cdb6708aea0592 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 8e61cbd483aee6ac6be9f5821e1bf22bed0710ff (diff) | |
drm/format-helper: Fix test on big endian architectures
The tests fail on big endian architectures, like PowerPC:
$ ./tools/testing/kunit/kunit.py run \
--kunitconfig=drivers/gpu/drm/tests \
--arch=powerpc --cross_compile=powerpc64-linux-gnu-
Transform the XRGB8888 buffer from little endian to the CPU endian
before calling the conversion function to avoid this error.
Fixes: 8f456104915f ("drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()")
Reported-by: David Gow <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: José Expósito <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions