drm/amdgpu: Split gpu_info_soc_bounding_box out from amdgpu_ucode.h
authorLeo Li <sunpeng.li@amd.com>
Wed, 3 Apr 2019 21:20:49 +0000 (17:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
commit57b3ec35d5df7ebec65c6472ea1cd9f6a764eb09
treed6f127219dfa533e871909d7bd5c7aecf3d67b3a
parent48321c3dde79f7f2db5000febddf70df3620c445
drm/amdgpu: Split gpu_info_soc_bounding_box out from amdgpu_ucode.h

DC needs to include the soc bounding box when initializing HW resources.

Including amdgpu_ucode.h directly will cause warnings, since amdgpu.h is
required to define amdgpu_device. The solution here is to split the
bounding box structs into a different header, then include it in both
amdgpu_ucode.h, and relevant DC HW resource files.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_socbb.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h