Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/include/
Ddiscovery.h360 typedef struct harvest_info { struct
364 } harvest_info; argument
368 harvest_info list[32];
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c671 struct harvest_table *harvest_info; in amdgpu_discovery_read_from_harvest_table() local
684 harvest_info = (struct harvest_table *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_read_from_harvest_table()
687 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_read_from_harvest_table()
690 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_read_from_harvest_table()
694 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
696 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
699 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
701 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
708 1 << (le16_to_cpu(harvest_info->list[i].number_instance)); in amdgpu_discovery_read_from_harvest_table()
713 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
[all …]