Lines Matching defs:kfd_dev
255 struct kfd_dev { struct
258 struct kfd_device_info device_info; argument
260 unsigned int id; /* topology stub index */
262 phys_addr_t doorbell_base; /* Start of actual doorbells used by
266 size_t doorbell_base_dw_offset; /* Offset from the start of the PCI
271 u32 __iomem *doorbell_kernel_ptr; /* This is a pointer for a doorbells
275 struct kgd2kfd_shared_resources shared_resources;
276 struct kfd_vmid_info vm_info;
277 struct kfd_local_mem_info local_mem_info;
279 const struct kfd2kgd_calls *kfd2kgd;
280 struct mutex doorbell_mutex;
284 void *gtt_mem;
285 uint64_t gtt_start_gpu_addr;
286 void *gtt_start_cpu_ptr;
287 void *gtt_sa_bitmap;
288 struct mutex gtt_sa_lock;
289 unsigned int gtt_sa_chunk_size;
290 unsigned int gtt_sa_num_of_chunks;
293 struct kfifo ih_fifo;
294 struct workqueue_struct *ih_wq;
295 struct work_struct interrupt_work;
296 spinlock_t interrupt_lock;
299 struct device_queue_manager *dqm;
301 bool init_complete;
306 bool interrupts_active;
309 uint16_t mec_fw_version;
310 uint16_t mec2_fw_version;
311 uint16_t sdma_fw_version;
314 unsigned int max_proc_per_quantum;
317 bool cwsr_enabled;
318 const void *cwsr_isa;
319 unsigned int cwsr_isa_size;
322 uint64_t hive_id;
324 bool pci_atomic_requested;
327 bool use_iommu_v2;
330 atomic_t sram_ecc_flag;
333 atomic_t compute_profile;
336 void *gws;
339 struct list_head smi_clients;
340 spinlock_t smi_lock;
342 uint32_t reset_seq_num;
344 struct ida doorbell_ida;
345 unsigned int max_doorbell_slices;
347 int noretry;
350 struct dev_pagemap pgmap;