drm/radeon: fix endian issues with DP handling (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2013 15:13:53 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jul 2013 19:57:12 +0000 (15:57 -0400)
commit34be8c9af7b8728465963740fc11136ae90dfc36
tree507be978a890dc152df26f11f64e13bf6bc1bbe5
parent3e3e53f86bee87bb14474213c879595605e35112
drm/radeon: fix endian issues with DP handling (v3)

The atom interpreter expects data in LE format, so
swap the message buffer as apprioriate.

v2: properly handle non-dw aligned byte counts.
v3: properly handle remainder

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Dong He <hedonghust@gmail.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_dp.c