Lines Matching defs:adev
47 int amdgpu_gfx_mec_queue_to_bit(struct amdgpu_device *adev, int mec, in amdgpu_gfx_mec_queue_to_bit()
60 void amdgpu_queue_mask_bit_to_mec_queue(struct amdgpu_device *adev, int bit, in amdgpu_queue_mask_bit_to_mec_queue()
71 bool amdgpu_gfx_is_mec_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_mec_queue_enabled()
78 static int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, in amdgpu_gfx_me_queue_to_bit()
92 bool amdgpu_gfx_is_me_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_me_queue_enabled()
144 static bool amdgpu_gfx_is_graphics_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_graphics_multipipe_capable()
149 static bool amdgpu_gfx_is_compute_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_compute_multipipe_capable()
168 bool amdgpu_gfx_is_high_priority_graphics_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_graphics_queue()
190 bool amdgpu_gfx_is_high_priority_compute_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_compute_queue()
203 void amdgpu_gfx_compute_queue_acquire(struct amdgpu_device *adev) in amdgpu_gfx_compute_queue_acquire()
239 void amdgpu_gfx_graphics_queue_acquire(struct amdgpu_device *adev) in amdgpu_gfx_graphics_queue_acquire()
268 static int amdgpu_gfx_kiq_acquire(struct amdgpu_device *adev, in amdgpu_gfx_kiq_acquire()
303 int amdgpu_gfx_kiq_init_ring(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_kiq_init_ring()
344 void amdgpu_gfx_kiq_fini(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_kiq_fini()
351 int amdgpu_gfx_kiq_init(struct amdgpu_device *adev, in amdgpu_gfx_kiq_init()
378 int amdgpu_gfx_mqd_sw_init(struct amdgpu_device *adev, in amdgpu_gfx_mqd_sw_init()
469 void amdgpu_gfx_mqd_sw_fini(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_mqd_sw_fini()
501 int amdgpu_gfx_disable_kcq(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_disable_kcq()
551 int amdgpu_gfx_disable_kgq(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_disable_kgq()
605 int amdgpu_queue_mask_bit_to_set_resource_bit(struct amdgpu_device *adev, in amdgpu_queue_mask_bit_to_set_resource_bit()
618 static int amdgpu_gfx_mes_enable_kcq(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_mes_enable_kcq()
656 int amdgpu_gfx_enable_kcq(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_enable_kcq()
720 int amdgpu_gfx_enable_kgq(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_enable_kgq()
777 static void amdgpu_gfx_do_off_ctrl(struct amdgpu_device *adev, bool enable, in amdgpu_gfx_do_off_ctrl()
844 void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable) in amdgpu_gfx_off_ctrl()
864 void amdgpu_gfx_off_ctrl_immediate(struct amdgpu_device *adev, bool enable) in amdgpu_gfx_off_ctrl_immediate()
869 int amdgpu_set_gfx_off_residency(struct amdgpu_device *adev, bool value) in amdgpu_set_gfx_off_residency()
882 int amdgpu_get_gfx_off_residency(struct amdgpu_device *adev, u32 *value) in amdgpu_get_gfx_off_residency()
895 int amdgpu_get_gfx_off_entrycount(struct amdgpu_device *adev, u64 *value) in amdgpu_get_gfx_off_entrycount()
908 int amdgpu_get_gfx_off_status(struct amdgpu_device *adev, uint32_t *value) in amdgpu_get_gfx_off_status()
922 int amdgpu_gfx_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block) in amdgpu_gfx_ras_late_init()
955 int amdgpu_gfx_ras_sw_init(struct amdgpu_device *adev) in amdgpu_gfx_ras_sw_init()
990 int amdgpu_gfx_poison_consumption_handler(struct amdgpu_device *adev, in amdgpu_gfx_poison_consumption_handler()
999 int amdgpu_gfx_process_ras_data_cb(struct amdgpu_device *adev, in amdgpu_gfx_process_ras_data_cb()
1019 int amdgpu_gfx_cp_ecc_error_irq(struct amdgpu_device *adev, in amdgpu_gfx_cp_ecc_error_irq()
1038 void amdgpu_gfx_ras_error_func(struct amdgpu_device *adev, in amdgpu_gfx_ras_error_func()
1040 void (*func)(struct amdgpu_device *adev, void *ras_error_status, in amdgpu_gfx_ras_error_func()
1057 uint32_t amdgpu_kiq_rreg(struct amdgpu_device *adev, uint32_t reg, uint32_t xcc_id) in amdgpu_kiq_rreg()
1128 void amdgpu_kiq_wreg(struct amdgpu_device *adev, uint32_t reg, uint32_t v, uint32_t xcc_id) in amdgpu_kiq_wreg()
1192 int amdgpu_gfx_get_num_kcq(struct amdgpu_device *adev) in amdgpu_gfx_get_num_kcq()
1203 void amdgpu_gfx_cp_init_microcode(struct amdgpu_device *adev, in amdgpu_gfx_cp_init_microcode()
1343 bool amdgpu_gfx_is_master_xcc(struct amdgpu_device *adev, int xcc_id) in amdgpu_gfx_is_master_xcc()
1354 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_get_current_compute_partition() local
1372 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_set_compute_partition() local
1431 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_get_available_compute_partition() local
1451 struct amdgpu_device *adev = ring->adev; in amdgpu_gfx_run_cleaner_shader_job() local
1506 static int amdgpu_gfx_run_cleaner_shader(struct amdgpu_device *adev, int xcp_id) in amdgpu_gfx_run_cleaner_shader()
1561 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_set_run_cleaner_shader() local
1625 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_get_enforce_isolation() local
1665 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_set_enforce_isolation() local
1733 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_get_gfx_reset_mask() local
1746 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_gfx_get_compute_reset_mask() local
1773 static int amdgpu_gfx_sysfs_xcp_init(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_xcp_init()
1800 static void amdgpu_gfx_sysfs_xcp_fini(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_xcp_fini()
1817 static int amdgpu_gfx_sysfs_isolation_shader_init(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_isolation_shader_init()
1830 static void amdgpu_gfx_sysfs_isolation_shader_fini(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_isolation_shader_fini()
1837 static int amdgpu_gfx_sysfs_reset_mask_init(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_reset_mask_init()
1859 static void amdgpu_gfx_sysfs_reset_mask_fini(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_reset_mask_fini()
1871 int amdgpu_gfx_sysfs_init(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_init()
1892 void amdgpu_gfx_sysfs_fini(struct amdgpu_device *adev) in amdgpu_gfx_sysfs_fini()
1901 int amdgpu_gfx_cleaner_shader_sw_init(struct amdgpu_device *adev, in amdgpu_gfx_cleaner_shader_sw_init()
1914 void amdgpu_gfx_cleaner_shader_sw_fini(struct amdgpu_device *adev) in amdgpu_gfx_cleaner_shader_sw_fini()
1924 void amdgpu_gfx_cleaner_shader_init(struct amdgpu_device *adev, in amdgpu_gfx_cleaner_shader_init()
1966 static void amdgpu_gfx_kfd_sch_ctrl(struct amdgpu_device *adev, u32 idx, in amdgpu_gfx_kfd_sch_ctrl()
2022 struct amdgpu_device *adev = isolation_work->adev; in amdgpu_gfx_enforce_isolation_handler() local
2071 amdgpu_gfx_enforce_isolation_wait_for_kfd(struct amdgpu_device *adev, in amdgpu_gfx_enforce_isolation_wait_for_kfd()
2126 struct amdgpu_device *adev = ring->adev; in amdgpu_gfx_enforce_isolation_ring_begin_use() local
2166 struct amdgpu_device *adev = ring->adev; in amdgpu_gfx_enforce_isolation_ring_end_use() local
2194 struct amdgpu_device *adev = in amdgpu_gfx_profile_idle_work_handler() local
2227 struct amdgpu_device *adev = ring->adev; in amdgpu_gfx_profile_ring_begin_use() local
2264 struct amdgpu_device *adev = ring->adev; in amdgpu_gfx_profile_ring_end_use() local
2306 u32 amdgpu_gfx_csb_data_parser(struct amdgpu_device *adev, volatile u32 *buffer, u32 count) in amdgpu_gfx_csb_data_parser()
2348 struct amdgpu_device *adev = (struct amdgpu_device *)data; in amdgpu_debugfs_gfx_sched_mask_set() local
2374 struct amdgpu_device *adev = (struct amdgpu_device *)data; in amdgpu_debugfs_gfx_sched_mask_get() local
2397 void amdgpu_debugfs_gfx_sched_mask_init(struct amdgpu_device *adev) in amdgpu_debugfs_gfx_sched_mask_init()
2418 struct amdgpu_device *adev = (struct amdgpu_device *)data; in amdgpu_debugfs_compute_sched_mask_set() local
2445 struct amdgpu_device *adev = (struct amdgpu_device *)data; in amdgpu_debugfs_compute_sched_mask_get() local
2468 void amdgpu_debugfs_compute_sched_mask_init(struct amdgpu_device *adev) in amdgpu_debugfs_compute_sched_mask_init()