]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix byteorder error in amdgpu discovery
authorYang Wang <KevinYang.Wang@amd.com>
Wed, 24 Nov 2021 04:26:02 +0000 (12:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 20:13:54 +0000 (15:13 -0500)
commitf9507d0982b3c3cc38138bd5722031a06df7e262
treed0feb98e69ff5dc0d16a365d88fac5e99117417a
parentcd59b57430cf04e303db63e5f6fe11f640b96bd0
drm/amdgpu: fix byteorder error in amdgpu discovery

fix some byteorder issues about amdgpu discovery.
This will result in running errors on the big end system. (e.g:MIPS)

Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c