Lines Matching refs:smu

429 	struct tonga_smu_private_data *private = (struct tonga_smu_private_data *)adev->smu.priv;  in tonga_smu_request_load_fw()
744 struct amdgpu_bo **toc_buf = &adev->smu.toc_buf; in tonga_smu_init()
745 struct amdgpu_bo **smu_buf = &adev->smu.smu_buf; in tonga_smu_init()
759 adev->smu.priv = private; in tonga_smu_init()
760 adev->smu.fw_flags = 0; in tonga_smu_init()
783 ret = amdgpu_bo_reserve(adev->smu.toc_buf, false); in tonga_smu_init()
785 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
790 ret = amdgpu_bo_pin(adev->smu.toc_buf, AMDGPU_GEM_DOMAIN_VRAM, &mc_addr); in tonga_smu_init()
792 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
793 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
800 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
801 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
806 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
811 ret = amdgpu_bo_reserve(adev->smu.smu_buf, false); in tonga_smu_init()
813 amdgpu_bo_unref(&adev->smu.smu_buf); in tonga_smu_init()
814 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
819 ret = amdgpu_bo_pin(adev->smu.smu_buf, AMDGPU_GEM_DOMAIN_VRAM, &mc_addr); in tonga_smu_init()
821 amdgpu_bo_unreserve(adev->smu.smu_buf); in tonga_smu_init()
822 amdgpu_bo_unref(&adev->smu.smu_buf); in tonga_smu_init()
823 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
830 amdgpu_bo_unreserve(adev->smu.smu_buf); in tonga_smu_init()
831 amdgpu_bo_unref(&adev->smu.smu_buf); in tonga_smu_init()
832 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
837 amdgpu_bo_unreserve(adev->smu.smu_buf); in tonga_smu_init()
841 adev->smu.smumgr_funcs = &tonga_smumgr_funcs; in tonga_smu_init()
848 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_fini()
849 amdgpu_bo_unref(&adev->smu.smu_buf); in tonga_smu_fini()
850 kfree(adev->smu.priv); in tonga_smu_fini()
851 adev->smu.priv = NULL; in tonga_smu_fini()