Lines Matching refs:dev_info
144 r = amdgpu_query_info(dev, AMDGPU_INFO_DEV_INFO, sizeof(dev->dev_info), in amdgpu_query_gpu_info_init()
145 &dev->dev_info); in amdgpu_query_gpu_info_init()
149 dev->info.asic_id = dev->dev_info.device_id; in amdgpu_query_gpu_info_init()
150 dev->info.chip_rev = dev->dev_info.chip_rev; in amdgpu_query_gpu_info_init()
151 dev->info.chip_external_rev = dev->dev_info.external_rev; in amdgpu_query_gpu_info_init()
152 dev->info.family_id = dev->dev_info.family; in amdgpu_query_gpu_info_init()
153 dev->info.max_engine_clk = dev->dev_info.max_engine_clock; in amdgpu_query_gpu_info_init()
154 dev->info.max_memory_clk = dev->dev_info.max_memory_clock; in amdgpu_query_gpu_info_init()
155 dev->info.gpu_counter_freq = dev->dev_info.gpu_counter_freq; in amdgpu_query_gpu_info_init()
156 dev->info.enabled_rb_pipes_mask = dev->dev_info.enabled_rb_pipes_mask; in amdgpu_query_gpu_info_init()
157 dev->info.rb_pipes = dev->dev_info.num_rb_pipes; in amdgpu_query_gpu_info_init()
158 dev->info.ids_flags = dev->dev_info.ids_flags; in amdgpu_query_gpu_info_init()
159 dev->info.num_hw_gfx_contexts = dev->dev_info.num_hw_gfx_contexts; in amdgpu_query_gpu_info_init()
160 dev->info.num_shader_engines = dev->dev_info.num_shader_engines; in amdgpu_query_gpu_info_init()
162 dev->dev_info.num_shader_arrays_per_engine; in amdgpu_query_gpu_info_init()
163 dev->info.vram_type = dev->dev_info.vram_type; in amdgpu_query_gpu_info_init()
164 dev->info.vram_bit_width = dev->dev_info.vram_bit_width; in amdgpu_query_gpu_info_init()
165 dev->info.ce_ram_size = dev->dev_info.ce_ram_size; in amdgpu_query_gpu_info_init()
166 dev->info.vce_harvest_config = dev->dev_info.vce_harvest_config; in amdgpu_query_gpu_info_init()
167 dev->info.pci_rev_id = dev->dev_info.pci_rev; in amdgpu_query_gpu_info_init()
221 dev->info.cu_active_number = dev->dev_info.cu_active_number; in amdgpu_query_gpu_info_init()
222 dev->info.cu_ao_mask = dev->dev_info.cu_ao_mask; in amdgpu_query_gpu_info_init()
223 memcpy(&dev->info.cu_bitmap[0][0], &dev->dev_info.cu_bitmap[0][0], sizeof(dev->info.cu_bitmap)); in amdgpu_query_gpu_info_init()