Lines Matching defs:kfd_dev
319 struct kfd_dev { struct
322 struct kfd_device_info device_info; argument
324 u32 __iomem *doorbell_kernel_ptr; /* This is a pointer for a doorbells
328 struct kgd2kfd_shared_resources shared_resources;
330 const struct kfd2kgd_calls *kfd2kgd;
331 struct mutex doorbell_mutex;
333 void *gtt_mem;
334 uint64_t gtt_start_gpu_addr;
335 void *gtt_start_cpu_ptr;
336 void *gtt_sa_bitmap;
337 struct mutex gtt_sa_lock;
338 unsigned int gtt_sa_chunk_size;
339 unsigned int gtt_sa_num_of_chunks;
341 bool init_complete;
344 uint16_t mec_fw_version;
345 uint16_t mec2_fw_version;
346 uint16_t sdma_fw_version;
349 bool cwsr_enabled;
350 const void *cwsr_isa;
351 unsigned int cwsr_isa_size;
354 uint64_t hive_id;
356 bool pci_atomic_requested;
359 atomic_t compute_profile;
361 struct ida doorbell_ida;
362 unsigned int max_doorbell_slices;
364 int noretry;
366 struct kfd_node *nodes[MAX_KFD_NODES];
367 unsigned int num_nodes;
369 struct workqueue_struct *ih_wq;
372 struct amdgpu_bo *doorbells;
375 unsigned long *doorbell_bitmap;