]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:23:26 +0000 (10:23 +0100)
commit9c515db55e2f5842d3fb59dca4807b1184c715dc
tree93225f10803397b54385d0144c2892b14822cdbc
parent2c93c587a75c04c0df81598e52ccb04dcaacc9fd
drm/radeon: properly byte swap vce firmware setup

BugLink: http://bugs.launchpad.net/bugs/1553179
commit cc78eb22885bba64445cde438ba098de0104920f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/radeon/vce_v1_0.c