radeon: Fix VCE IB test on Big-Endian systems
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 4 Dec 2015 21:09:05 +0000 (23:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2015 05:23:56 +0000 (00:23 -0500)
commit361c32d39087e7caa99e629c0d7fb00643cb2190
treec5af46977fdc9a490098e6f7f459d960ba796a01
parent687f4b98d1f4e27508f7ad4bcce787c1ba58b289
radeon: Fix VCE IB test on Big-Endian systems

This patch makes the VCE IB test pass on Big-Endian systems. It converts
to little-endian the contents of the VCE message.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vce.c