Home
last modified time | relevance | path

Searched refs:harvest_info (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/include/
H A Ddiscovery.h318 typedef struct harvest_info { struct
322 } harvest_info; typedef
326 harvest_info list[32];
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c609 struct harvest_table *harvest_info; in amdgpu_discovery_read_from_harvest_table() local
622 harvest_info = (struct harvest_table *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_read_from_harvest_table()
625 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_read_from_harvest_table()
628 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_read_from_harvest_table()
632 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
634 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
637 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
639 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
646 1 << (le16_to_cpu(harvest_info->list[i].number_instance)); in amdgpu_discovery_read_from_harvest_table()
651 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
[all …]