drm/amdgpu: properly byteswap gpu_info firmware
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 May 2017 23:09:49 +0000 (19:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 22:32:51 +0000 (18:32 -0400)
commitb5ab16bf64347ebc9dbdc51a4f603511babda1e6
tree1c552a654580e0925a570accd29c7e9e411e3070
parentcd70f3d6e3fa816d516a22347292c4eda07cf8ee
drm/amdgpu: properly byteswap gpu_info firmware

It's stored in LE format.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c