drm/radeon: properly byte swap vce firmware setup
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Jan 2016 05:13:15 +0000 (00:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Jan 2016 15:50:24 +0000 (10:50 -0500)
commitcc78eb22885bba64445cde438ba098de0104920f
tree50baff82cdb1499e5e8d41a4192907803a83a49a
parent9441f964f8e39374ab175e0a8fe870e1a2f02af1
drm/radeon: properly byte swap vce firmware setup

Firmware is LE.  Need to properly byteswap some of the fields
so they are interpreted correctly by the driver on BE systems.

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