anv,tu: Bypass RMV pcie_family_id check
Since RMV 1.9 pcie_family_id is checked to verify whether a capture is supported. Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34763>
This commit is contained in:
@@ -66,7 +66,7 @@ tu_rmv_fill_device_info(struct tu_device *device,
|
||||
*/
|
||||
snprintf(info->device_name, sizeof(info->device_name), "%s (0x%" PRIx64 ")",
|
||||
physical_device->name, physical_device->dev_id.chip_id);
|
||||
info->pcie_family_id = info->pcie_revision_id = info->pcie_device_id = 0;
|
||||
info->pcie_family_id = info->pcie_revision_id = info->pcie_device_id = ~0;
|
||||
|
||||
/* TODO: provide relevant information here. */
|
||||
info->vram_type = VK_RMV_MEMORY_TYPE_LPDDR5;
|
||||
|
||||
@@ -87,7 +87,7 @@ anv_rmv_fill_device_info(const struct anv_physical_device *device,
|
||||
info->pcie_revision_id = device->info.pci_revision_id;
|
||||
info->pcie_device_id = device->info.pci_device_id;
|
||||
/* TODO: */
|
||||
info->pcie_family_id = 0;
|
||||
info->pcie_family_id = ~0;
|
||||
info->minimum_shader_clock = 0;
|
||||
info->maximum_shader_clock = 1 * 1024 * 1024 * 1024;
|
||||
info->vram_type = VK_RMV_MEMORY_TYPE_DDR4;
|
||||
|
||||
Reference in New Issue
Block a user