]> git.ipfire.org Git - people/ms/linux.git/commit
radeon: Fix VCE ring test for Big-Endian systems
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 4 Dec 2015 21:09:04 +0000 (23:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2015 05:22:44 +0000 (00:22 -0500)
commit687f4b98d1f4e27508f7ad4bcce787c1ba58b289
tree1b3ec2d76d3c92effe2b62fe5643335a285304c0
parent5f3e226f511ec98d70c970f09cdb4ec46511cc5e
radeon: Fix VCE ring test for Big-Endian systems

This patch fixes the VCE ring test when running on Big-Endian machines.
Every write to the ring needs to be translated to little-endian.

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