diff options
author | 2020-04-17 14:10:23 -0400 | |
---|---|---|
committer | 2020-04-22 18:11:48 -0400 | |
commit | a42c1ed50aafc29efa54ddb0524c86b1697ff13a (patch) | |
tree | 539569a49ecd33eea51da6448c4579dc09a55ad2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Fix green screen issue after suspend (diff) | |
download | linux-dev-a42c1ed50aafc29efa54ddb0524c86b1697ff13a.tar.xz linux-dev-a42c1ed50aafc29efa54ddb0524c86b1697ff13a.zip |
drm/amd/display: Convert memory from cpu to fw endianness correctly
[Why]
Current code does not guarantee the correct endianness of memory being
copied to fw, specifically in the case where cpu isn't little endian.
[How]
Windows and Diags are always little endian, so we define a macro that
does nothing. Linux already defines this macro and will do the correct
endianness conversion.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions