]> 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)
commit3cb1069f6e0bc440af4f51e58127a5cb235929ae
treed0feb98e69ff5dc0d16a365d88fac5e99117417a
parent834ea0771a50a4d8843c8639de23ada822bd8b15
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