Home
last modified time | relevance | path

Searched refs:ip_blocks (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dsienna_cichlid.c79 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip()
81 adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip()
85 r = adev->ip_blocks[i].version->funcs->suspend(adev); in sienna_cichlid_mode2_suspend_ip()
90 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_suspend_ip()
93 adev->ip_blocks[i].status.hw = false; in sienna_cichlid_mode2_suspend_ip()
178 if (adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_IH) { in sienna_cichlid_mode2_restore_ip()
179 r = adev->ip_blocks[i].version->funcs->resume(adev); in sienna_cichlid_mode2_restore_ip()
183 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_restore_ip()
187 adev->ip_blocks[i].status.hw = true; in sienna_cichlid_mode2_restore_ip()
192 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_restore_ip()
[all …]
Damdgpu_device.c1654 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_clockgating_state()
1656 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_clockgating_state()
1658 if (!adev->ip_blocks[i].version->funcs->set_clockgating_state) in amdgpu_device_ip_set_clockgating_state()
1660 r = adev->ip_blocks[i].version->funcs->set_clockgating_state( in amdgpu_device_ip_set_clockgating_state()
1664 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_clockgating_state()
1688 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_powergating_state()
1690 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_powergating_state()
1692 if (!adev->ip_blocks[i].version->funcs->set_powergating_state) in amdgpu_device_ip_set_powergating_state()
1694 r = adev->ip_blocks[i].version->funcs->set_powergating_state( in amdgpu_device_ip_set_powergating_state()
1698 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_powergating_state()
[all …]
Daldebaran.c85 if (!(adev->ip_blocks[i].version->type == in aldebaran_mode2_suspend_ip()
87 adev->ip_blocks[i].version->type == in aldebaran_mode2_suspend_ip()
91 r = adev->ip_blocks[i].version->funcs->suspend(adev); in aldebaran_mode2_suspend_ip()
96 adev->ip_blocks[i].version->funcs->name, r); in aldebaran_mode2_suspend_ip()
100 adev->ip_blocks[i].status.hw = false; in aldebaran_mode2_suspend_ip()
283 if (!(adev->ip_blocks[i].version->type == in aldebaran_mode2_restore_ip()
285 adev->ip_blocks[i].version->type == in aldebaran_mode2_restore_ip()
288 r = adev->ip_blocks[i].version->funcs->resume(adev); in aldebaran_mode2_restore_ip()
292 adev->ip_blocks[i].version->funcs->name, r); in aldebaran_mode2_restore_ip()
296 adev->ip_blocks[i].status.hw = true; in aldebaran_mode2_restore_ip()
[all …]
Damdgpu_kms.c474 if (adev->ip_blocks[i].version->type == type && in amdgpu_hw_ip_info()
475 adev->ip_blocks[i].status.valid) in amdgpu_hw_ip_info()
484 result->hw_ip_version_major = adev->ip_blocks[i].version->major; in amdgpu_hw_ip_info()
485 result->hw_ip_version_minor = adev->ip_blocks[i].version->minor; in amdgpu_hw_ip_info()
614 if (adev->ip_blocks[i].version->type == type && in amdgpu_info_ioctl()
615 adev->ip_blocks[i].status.valid && in amdgpu_info_ioctl()
Damdgpu.h965 struct amdgpu_ip_block ip_blocks[AMDGPU_MAX_IP_NUM]; member
Damdgpu_psp.c3409 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_read()
3440 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_write()