Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_kms.c56 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_unregister_gpu_instance()
60 mgpu_info.gpu_ins[mgpu_info.num_gpu - 1]; in amdgpu_unregister_gpu_instance()
61 mgpu_info.num_gpu--; in amdgpu_unregister_gpu_instance()
106 if (mgpu_info.num_gpu >= MAX_GPU_INSTANCE) { in amdgpu_register_gpu_instance()
112 gpu_instance = &(mgpu_info.gpu_ins[mgpu_info.num_gpu]); in amdgpu_register_gpu_instance()
116 mgpu_info.num_gpu++; in amdgpu_register_gpu_instance()
H A Damdgpu_ras.c134 int num_gpu; member
3030 for (i = 0; i < mce_adev_list.num_gpu; i++) { in find_adev()
3113 mce_adev_list.devs[mce_adev_list.num_gpu++] = adev; in amdgpu_register_bad_pages_mca_notifier()
H A Damdgpu.h123 uint32_t num_gpu; member
H A Damdgpu_device.c2700 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_device_ip_late_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1828 for (i = 0; i < mgpu_info.num_gpu; i++) { in amdgpu_show_powershift_percent()