aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-09-29 05:07:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-10-09 18:05:19 -0400
commite5081e30eba1493f098b6e65e22124e36b2de743 (patch)
tree02ed08e4ee20a95ef41ea926410be7d668c0571a /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parenta57ba84b149cfeca133ea11f253049eac5f9c1a9 (diff)
drm/amdgpu: Drop dead define in amdgpu.h
the struct was not in use any more. Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index bd6f236ab7e7..44140cce067c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -616,31 +616,6 @@ void amdgpu_benchmark(struct amdgpu_device *adev, int test_number);
616 */ 616 */
617void amdgpu_test_moves(struct amdgpu_device *adev); 617void amdgpu_test_moves(struct amdgpu_device *adev);
618 618
619
620/*
621 * amdgpu smumgr functions
622 */
623struct amdgpu_smumgr_funcs {
624 int (*check_fw_load_finish)(struct amdgpu_device *adev, uint32_t fwtype);
625 int (*request_smu_load_fw)(struct amdgpu_device *adev);
626 int (*request_smu_specific_fw)(struct amdgpu_device *adev, uint32_t fwtype);
627};
628
629/*
630 * amdgpu smumgr
631 */
632struct amdgpu_smumgr {
633 struct amdgpu_bo *toc_buf;
634 struct amdgpu_bo *smu_buf;
635 /* asic priv smu data */
636 void *priv;
637 spinlock_t smu_lock;
638 /* smumgr functions */
639 const struct amdgpu_smumgr_funcs *smumgr_funcs;
640 /* ucode loading complete flag */
641 uint32_t fw_flags;
642};
643
644/* 619/*
645 * ASIC specific register table accessible by UMD 620 * ASIC specific register table accessible by UMD
646 */ 621 */
@@ -976,9 +951,6 @@ struct amdgpu_device {
976 u32 cg_flags; 951 u32 cg_flags;
977 u32 pg_flags; 952 u32 pg_flags;
978 953
979 /* amdgpu smumgr */
980 struct amdgpu_smumgr smu;
981
982 /* gfx */ 954 /* gfx */
983 struct amdgpu_gfx gfx; 955 struct amdgpu_gfx gfx;
984 956