]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e7e3ca8dbe08c74df633d66c1d396588070933b
treed6f127219dfa533e871909d7bd5c7aecf3d67b3a
parent25c50c548e40a83c3735c44ccfe192e4c6c5e065
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