Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c49 struct amdgpu_gpu_instance *gpu_instance; in amdgpu_unregister_gpu_instance() local
55 gpu_instance = &(mgpu_info.gpu_ins[i]); in amdgpu_unregister_gpu_instance()
56 if (gpu_instance->adev == adev) { in amdgpu_unregister_gpu_instance()
102 struct amdgpu_gpu_instance *gpu_instance; in amdgpu_register_gpu_instance() local
112 gpu_instance = &(mgpu_info.gpu_ins[mgpu_info.num_gpu]); in amdgpu_register_gpu_instance()
113 gpu_instance->adev = adev; in amdgpu_register_gpu_instance()
114 gpu_instance->mgpu_fan_enabled = 0; in amdgpu_register_gpu_instance()
Damdgpu_device.c2446 struct amdgpu_gpu_instance *gpu_instance; in amdgpu_device_ip_late_init() local
2493 gpu_instance = &(mgpu_info.gpu_ins[i]); in amdgpu_device_ip_late_init()
2494 if (gpu_instance->adev->flags & AMD_IS_APU) in amdgpu_device_ip_late_init()
2497 r = amdgpu_xgmi_set_pstate(gpu_instance->adev, in amdgpu_device_ip_late_init()