Home
last modified time | relevance | path

Searched refs:num_gpu (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c53 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_unregister_gpu_instance()
57 mgpu_info.gpu_ins[mgpu_info.num_gpu - 1]; in amdgpu_unregister_gpu_instance()
58 mgpu_info.num_gpu--; in amdgpu_unregister_gpu_instance()
103 if (mgpu_info.num_gpu >= MAX_GPU_INSTANCE) { in amdgpu_register_gpu_instance()
109 gpu_instance = &(mgpu_info.gpu_ins[mgpu_info.num_gpu]); in amdgpu_register_gpu_instance()
113 mgpu_info.num_gpu++; in amdgpu_register_gpu_instance()
Damdgpu_ras.c132 int num_gpu; member
2827 for (i = 0; i < mce_adev_list.num_gpu; i++) { in find_adev()
2932 mce_adev_list.devs[mce_adev_list.num_gpu++] = adev; in amdgpu_register_bad_pages_mca_notifier()
Damdgpu.h126 uint32_t num_gpu; member
Damdgpu_device.c2732 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_device_ip_late_init()
/Linux-v6.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c1780 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_show_powershift_percent()