Lines Matching defs:kfd_dev
230 struct kfd_dev { struct
233 const struct kfd_device_info *device_info; argument
234 struct pci_dev *pdev;
235 struct drm_device *ddev;
237 unsigned int id; /* topology stub index */
239 phys_addr_t doorbell_base; /* Start of actual doorbells used by
243 size_t doorbell_base_dw_offset; /* Offset from the start of the PCI
248 u32 __iomem *doorbell_kernel_ptr; /* This is a pointer for a doorbells
252 struct kgd2kfd_shared_resources shared_resources;
253 struct kfd_vmid_info vm_info;
255 const struct kfd2kgd_calls *kfd2kgd;
256 struct mutex doorbell_mutex;
260 void *gtt_mem;
261 uint64_t gtt_start_gpu_addr;
262 void *gtt_start_cpu_ptr;
263 void *gtt_sa_bitmap;
264 struct mutex gtt_sa_lock;
265 unsigned int gtt_sa_chunk_size;
266 unsigned int gtt_sa_num_of_chunks;
269 struct kfifo ih_fifo;
270 struct workqueue_struct *ih_wq;
271 struct work_struct interrupt_work;
272 spinlock_t interrupt_lock;
275 struct device_queue_manager *dqm;
277 bool init_complete;
282 bool interrupts_active;
285 struct kfd_dbgmgr *dbgmgr;
288 uint16_t mec_fw_version;
289 uint16_t mec2_fw_version;
290 uint16_t sdma_fw_version;
293 unsigned int max_proc_per_quantum;
296 bool cwsr_enabled;
297 const void *cwsr_isa;
298 unsigned int cwsr_isa_size;
301 uint64_t hive_id;
303 bool pci_atomic_requested;
306 bool use_iommu_v2;
309 atomic_t sram_ecc_flag;
312 atomic_t compute_profile;
315 void *gws;
318 struct list_head smi_clients;
319 spinlock_t smi_lock;
321 uint32_t reset_seq_num;
323 struct ida doorbell_ida;
324 unsigned int max_doorbell_slices;
326 int noretry;
329 struct dev_pagemap pgmap;