aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
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