linux/drivers/gpu/drm/amd
Roman Kapl 4f626a4ac8 drm/radeon: fix atombios on big endian
The function for byteswapping the data send to/from atombios was buggy for
num_bytes not divisible by four. The function must be aware of the fact
that after byte-swapping the u32 units, valid bytes might end up after the
num_bytes boundary.

This patch was tested on kernel 3.12 and allowed us to sucesfully use
DisplayPort on and Radeon SI card. Namely it fixed the link training and
EDID readout.

The function is patched both in radeon and amd drivers, since the functions
and the fixes are identical.

Signed-off-by: Roman Kapl <rka@sysgo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2017-10-31 18:24:59 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/radeon: fix atombios on big endian 2017-10-31 18:24:59 -04:00
amdkfd Linux 4.14-rc3 2017-10-03 09:35:04 +10:00
include drm/amdgpu: add uvd enc registers in header 2017-10-06 17:43:53 -04:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay drm/amd/powerplay: change ASIC temperature reading on Vega10 2017-10-27 16:14:30 -04:00
scheduler drm/amd/sched: fix job tear down order v2 2017-10-19 15:27:08 -04:00