Lines Matching refs:query_fw
204 struct drm_amdgpu_query_fw *query_fw, in amdgpu_firmware_info() argument
207 switch (query_fw->fw_type) { in amdgpu_firmware_info()
261 if (query_fw->index == 0) { in amdgpu_firmware_info()
264 } else if (query_fw->index == 1) { in amdgpu_firmware_info()
275 switch (query_fw->index) { in amdgpu_firmware_info()
312 if (query_fw->index >= adev->sdma.num_instances) in amdgpu_firmware_info()
314 fw_info->ver = adev->sdma.instance[query_fw->index].fw_version; in amdgpu_firmware_info()
315 fw_info->feature = adev->sdma.instance[query_fw->index].feature_version; in amdgpu_firmware_info()
633 if (info->query_fw.ip_instance != 0) in amdgpu_info_ioctl()
636 ret = amdgpu_firmware_info(&fw_info, &info->query_fw, adev); in amdgpu_info_ioctl()
1488 struct drm_amdgpu_query_fw query_fw; in amdgpu_debugfs_firmware_info_show() local
1505 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info_show()
1506 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1513 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info_show()
1514 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1521 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info_show()
1522 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1529 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info_show()
1530 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1537 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info_show()
1538 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1545 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info_show()
1546 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1553 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info_show()
1554 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1561 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info_show()
1562 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1569 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info_show()
1570 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1577 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_SRM_MEM; in amdgpu_debugfs_firmware_info_show()
1578 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1585 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLCP; in amdgpu_debugfs_firmware_info_show()
1586 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1593 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLCV; in amdgpu_debugfs_firmware_info_show()
1594 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1601 query_fw.fw_type = AMDGPU_INFO_FW_GFX_MEC; in amdgpu_debugfs_firmware_info_show()
1602 query_fw.index = 0; in amdgpu_debugfs_firmware_info_show()
1603 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1611 query_fw.index = 1; in amdgpu_debugfs_firmware_info_show()
1612 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1620 query_fw.fw_type = AMDGPU_INFO_FW_IMU; in amdgpu_debugfs_firmware_info_show()
1621 query_fw.index = 0; 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_SOS; in amdgpu_debugfs_firmware_info_show()
1630 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1638 query_fw.fw_type = AMDGPU_INFO_FW_ASD; in amdgpu_debugfs_firmware_info_show()
1639 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1645 query_fw.fw_type = AMDGPU_INFO_FW_TA; in amdgpu_debugfs_firmware_info_show()
1647 query_fw.index = i; in amdgpu_debugfs_firmware_info_show()
1648 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1657 query_fw.fw_type = AMDGPU_INFO_FW_SMC; in amdgpu_debugfs_firmware_info_show()
1658 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1669 query_fw.fw_type = AMDGPU_INFO_FW_SDMA; in amdgpu_debugfs_firmware_info_show()
1671 query_fw.index = i; in amdgpu_debugfs_firmware_info_show()
1672 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1680 query_fw.fw_type = AMDGPU_INFO_FW_VCN; in amdgpu_debugfs_firmware_info_show()
1681 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1688 query_fw.fw_type = AMDGPU_INFO_FW_DMCU; in amdgpu_debugfs_firmware_info_show()
1689 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1696 query_fw.fw_type = AMDGPU_INFO_FW_DMCUB; in amdgpu_debugfs_firmware_info_show()
1697 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1704 query_fw.fw_type = AMDGPU_INFO_FW_TOC; in amdgpu_debugfs_firmware_info_show()
1705 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1713 query_fw.fw_type = AMDGPU_INFO_FW_CAP; in amdgpu_debugfs_firmware_info_show()
1714 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1722 query_fw.fw_type = AMDGPU_INFO_FW_MES_KIQ; in amdgpu_debugfs_firmware_info_show()
1723 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()
1730 query_fw.fw_type = AMDGPU_INFO_FW_MES; in amdgpu_debugfs_firmware_info_show()
1731 ret = amdgpu_firmware_info(&fw_info, &query_fw, adev); in amdgpu_debugfs_firmware_info_show()