Re: [PATCH] drm/radeon: fix atombios on big endian

2017-10-31 Thread Alex Deucher
On Mon, Oct 30, 2017 at 6:56 AM, Roman Kapl wrote: > 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 boundar

[PATCH] drm/radeon: fix atombios on big endian

2017-10-30 Thread Roman Kapl
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 s