Lines Matching defs:kfd_dev
222 struct kfd_dev { struct
225 const struct kfd_device_info *device_info; argument
226 struct pci_dev *pdev;
227 struct drm_device *ddev;
229 unsigned int id; /* topology stub index */
231 phys_addr_t doorbell_base; /* Start of actual doorbells used by
235 size_t doorbell_base_dw_offset; /* Offset from the start of the PCI
240 u32 __iomem *doorbell_kernel_ptr; /* This is a pointer for a doorbells
244 struct kgd2kfd_shared_resources shared_resources;
245 struct kfd_vmid_info vm_info;
247 const struct kfd2kgd_calls *kfd2kgd;
248 struct mutex doorbell_mutex;
252 void *gtt_mem;
253 uint64_t gtt_start_gpu_addr;
254 void *gtt_start_cpu_ptr;
255 void *gtt_sa_bitmap;
256 struct mutex gtt_sa_lock;
257 unsigned int gtt_sa_chunk_size;
258 unsigned int gtt_sa_num_of_chunks;
261 struct kfifo ih_fifo;
262 struct workqueue_struct *ih_wq;
263 struct work_struct interrupt_work;
264 spinlock_t interrupt_lock;
267 struct device_queue_manager *dqm;
269 bool init_complete;
274 bool interrupts_active;
277 struct kfd_dbgmgr *dbgmgr;
280 uint16_t mec_fw_version;
281 uint16_t mec2_fw_version;
282 uint16_t sdma_fw_version;
285 unsigned int max_proc_per_quantum;
288 bool cwsr_enabled;
289 const void *cwsr_isa;
290 unsigned int cwsr_isa_size;
293 uint64_t hive_id;
296 uint64_t unique_id;
298 bool pci_atomic_requested;
301 bool use_iommu_v2;
304 atomic_t sram_ecc_flag;
307 atomic_t compute_profile;
310 void *gws;
313 struct list_head smi_clients;
314 spinlock_t smi_lock;
316 uint32_t reset_seq_num;
318 struct ida doorbell_ida;
319 unsigned int max_doorbell_slices;
321 int noretry;