Lines Matching refs:query_fw

212 				struct drm_amdgpu_query_fw *query_fw,  in amdgpu_firmware_info()  argument
215 switch (query_fw->fw_type) { in amdgpu_firmware_info()
269 if (query_fw->index == 0) { in amdgpu_firmware_info()
272 } else if (query_fw->index == 1) { in amdgpu_firmware_info()
283 switch (query_fw->index) { in amdgpu_firmware_info()
320 if (query_fw->index >= adev->sdma.num_instances) in amdgpu_firmware_info()
322 fw_info->ver = adev->sdma.instance[query_fw->index].fw_version; in amdgpu_firmware_info()
323 fw_info->feature = adev->sdma.instance[query_fw->index].feature_version; in amdgpu_firmware_info()
690 if (info->query_fw.ip_instance != 0) in amdgpu_info_ioctl()
693 ret = amdgpu_firmware_info(&fw_info, &info->query_fw, adev); in amdgpu_info_ioctl()
1580 struct drm_amdgpu_query_fw query_fw; in amdgpu_debugfs_firmware_info_show() local
1597 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info_show()
1598 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1605 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info_show()
1606 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1613 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info_show()
1614 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1621 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info_show()
1622 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1629 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info_show()
1630 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1637 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info_show()
1638 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1645 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info_show()
1646 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1653 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info_show()
1654 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1661 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info_show()
1662 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1669 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_SRM_MEM; in amdgpu_debugfs_firmware_info_show()
1670 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1677 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLCP; in amdgpu_debugfs_firmware_info_show()
1678 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1685 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLCV; in amdgpu_debugfs_firmware_info_show()
1686 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1693 query_fw.fw_type = AMDGPU_INFO_FW_GFX_MEC; in amdgpu_debugfs_firmware_info_show()
1694 query_fw.index = 0; in amdgpu_debugfs_firmware_info_show()
1695 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1703 query_fw.index = 1; in amdgpu_debugfs_firmware_info_show()
1704 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1712 query_fw.fw_type = AMDGPU_INFO_FW_IMU; in amdgpu_debugfs_firmware_info_show()
1713 query_fw.index = 0; in amdgpu_debugfs_firmware_info_show()
1714 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1721 query_fw.fw_type = AMDGPU_INFO_FW_SOS; in amdgpu_debugfs_firmware_info_show()
1722 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1730 query_fw.fw_type = AMDGPU_INFO_FW_ASD; in amdgpu_debugfs_firmware_info_show()
1731 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1737 query_fw.fw_type = AMDGPU_INFO_FW_TA; in amdgpu_debugfs_firmware_info_show()
1739 query_fw.index = i; in amdgpu_debugfs_firmware_info_show()
1740 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1749 query_fw.fw_type = AMDGPU_INFO_FW_SMC; in amdgpu_debugfs_firmware_info_show()
1750 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1761 query_fw.fw_type = AMDGPU_INFO_FW_SDMA; in amdgpu_debugfs_firmware_info_show()
1763 query_fw.index = i; in amdgpu_debugfs_firmware_info_show()
1764 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1772 query_fw.fw_type = AMDGPU_INFO_FW_VCN; in amdgpu_debugfs_firmware_info_show()
1773 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1780 query_fw.fw_type = AMDGPU_INFO_FW_DMCU; in amdgpu_debugfs_firmware_info_show()
1781 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1788 query_fw.fw_type = AMDGPU_INFO_FW_DMCUB; in amdgpu_debugfs_firmware_info_show()
1789 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1796 query_fw.fw_type = AMDGPU_INFO_FW_TOC; in amdgpu_debugfs_firmware_info_show()
1797 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1805 query_fw.fw_type = AMDGPU_INFO_FW_CAP; in amdgpu_debugfs_firmware_info_show()
1806 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1814 query_fw.fw_type = AMDGPU_INFO_FW_MES_KIQ; in amdgpu_debugfs_firmware_info_show()
1815 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1822 query_fw.fw_type = AMDGPU_INFO_FW_MES; in amdgpu_debugfs_firmware_info_show()
1823 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1830 query_fw.fw_type = AMDGPU_INFO_FW_VPE; in amdgpu_debugfs_firmware_info_show()
1831 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()