bianbu-linux-6.6/drivers/gpu/drm/amd/display/modules
Wyatt Wood a42c1ed50a 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>
2020-04-22 18:11:48 -04:00
..
color drm/amd/display: Check ramp != NULL before applying lut1d for degamma 2020-04-22 18:11:47 -04:00
freesync drm/amd/display: Change infopacket type programming 2020-04-22 18:11:47 -04:00
hdcp drm/amd/display: fix typo 2020-04-09 10:43:16 -04:00
inc drm/amd/display: Change infopacket type programming 2020-04-22 18:11:47 -04:00
info_packet drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
power drm/amd/display: Convert memory from cpu to fw endianness correctly 2020-04-22 18:11:48 -04:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00
vmid drm/amd/display: System crashes when add_ptb_to_table() gets called 2020-02-25 11:03:54 -05:00