]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbedf259c6ac808a3d4111267402bc8522eda24ae
tree507be978a890dc152df26f11f64e13bf6bc1bbe5
parent850a243724db5940996811dc9a210da18c460a2d
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