• Graham Sider's avatar
    drm/amdkfd: replace kgd_dev in get amdgpu_amdkfd funcs · 574c4183
    Graham Sider authored
    Modified definitions:
    
    - amdgpu_amdkfd_get_fw_version
    - amdgpu_amdkfd_get_local_mem_info
    - amdgpu_amdkfd_get_gpu_clock_counter
    - amdgpu_amdkfd_get_max_engine_clock_in_mhz
    - amdgpu_amdkfd_get_cu_info
    - amdgpu_amdkfd_get_dmabuf_info
    - amdgpu_amdkfd_get_vram_usage
    - amdgpu_amdkfd_get_hive_id
    - amdgpu_amdkfd_get_unique_id
    - amdgpu_amdkfd_get_mmio_remap_phys_addr
    - amdgpu_amdkfd_get_num_gws
    - amdgpu_amdkfd_get_asic_rev_id
    - amdgpu_amdkfd_get_noretry
    - amdgpu_amdkfd_get_xgmi_hops_count
    - amdgpu_amdkfd_get_xgmi_bandwidth_mbytes
    - amdgpu_amdkfd_get_pcie_bandwidth_mbytes
    
    Also replaces kfd_device_by_kgd with kfd_device_by_adev, now
    searching via adev rather than kgd.
    Signed-off-by: default avatarGraham Sider <Graham.Sider@amd.com>
    Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    574c4183
kfd_mqd_manager.c 5.66 KB