Lines Matching defs:adev
34 static void hdp_v6_0_flush_hdp(struct amdgpu_device *adev,
38 WREG32_NO_KIQ((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0);
40 amdgpu_ring_emit_wreg(ring, (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0);
43 static void hdp_v6_0_update_clock_gating(struct amdgpu_device *adev,
49 if (!(adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS |
54 if (amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(6, 1, 0))
64 if (amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(6, 1, 0))
91 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_SD) {
98 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) {
105 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) {
116 if (adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_HDP_DS |
129 if (amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(6, 1, 0))
135 static void hdp_v6_0_get_clockgating_state(struct amdgpu_device *adev,