Lines Matching defs:radeon_device
2314 struct radeon_device { struct
2315 struct device *dev;
2316 struct drm_device *ddev;
2317 struct pci_dev *pdev;
2318 struct rw_semaphore exclusive_lock;
2320 union radeon_asic_config config;
2321 enum radeon_family family;
2322 unsigned long flags;
2323 int usec_timeout;
2324 enum radeon_pll_errata pll_errata;
2325 int num_gb_pipes;
2326 int num_z_pipes;
2327 int disp_priority;
2329 uint8_t *bios;
2330 bool is_atom_bios;
2331 uint16_t bios_header_start;
2332 struct radeon_bo *stolen_vga_memory;
2334 resource_size_t rmmio_base;
2335 resource_size_t rmmio_size;
2337 spinlock_t mmio_idx_lock;
2339 spinlock_t smc_idx_lock;
2341 spinlock_t pll_idx_lock;
2343 spinlock_t mc_idx_lock;
2345 spinlock_t pcie_idx_lock;
2347 spinlock_t pciep_idx_lock;
2349 spinlock_t pif_idx_lock;
2351 spinlock_t cg_idx_lock;
2353 spinlock_t uvd_idx_lock;
2355 spinlock_t rcu_idx_lock;
2357 spinlock_t didt_idx_lock;
2359 spinlock_t end_idx_lock;
2360 void __iomem *rmmio;
2361 radeon_rreg_t mc_rreg;
2362 radeon_wreg_t mc_wreg;
2363 radeon_rreg_t pll_rreg;
2364 radeon_wreg_t pll_wreg;
2365 uint32_t pcie_reg_mask;
2366 radeon_rreg_t pciep_rreg;
2367 radeon_wreg_t pciep_wreg;
2369 void __iomem *rio_mem;
2370 resource_size_t rio_mem_size;
2371 struct radeon_clock clock;
2372 struct radeon_mc mc;
2373 struct radeon_gart gart;
2374 struct radeon_mode_info mode_info;
2375 struct radeon_scratch scratch;
2376 struct radeon_doorbell doorbell;
2377 struct radeon_mman mman;
2378 struct radeon_fence_driver fence_drv[RADEON_NUM_RINGS];
2379 wait_queue_head_t fence_queue;
2380 u64 fence_context;
2381 struct mutex ring_lock;
2382 struct radeon_ring ring[RADEON_NUM_RINGS];
2383 bool ib_pool_ready;
2384 struct radeon_sa_manager ring_tmp_bo;
2385 struct radeon_irq irq;
2386 struct radeon_asic *asic;
2387 struct radeon_gem gem;
2388 struct radeon_pm pm;
2389 struct radeon_uvd uvd;
2390 struct radeon_vce vce;
2391 uint32_t bios_scratch[RADEON_BIOS_NUM_SCRATCH];
2392 struct radeon_wb wb;
2393 struct radeon_dummy_page dummy_page;
2394 bool shutdown;
2395 bool need_swiotlb;
2396 bool accel_working;
2397 bool fastfb_working; /* IGP feature*/
2398 bool needs_reset, in_reset;
2399 struct radeon_surface_reg surface_regs[RADEON_GEM_MAX_SURFACES];
2400 const struct firmware *me_fw; /* all family ME firmware */
2401 const struct firmware *pfp_fw; /* r6/700 PFP firmware */
2402 const struct firmware *rlc_fw; /* r6/700 RLC firmware */
2403 const struct firmware *mc_fw; /* NI MC firmware */
2404 const struct firmware *ce_fw; /* SI CE firmware */
2405 const struct firmware *mec_fw; /* CIK MEC firmware */
2406 const struct firmware *mec2_fw; /* KV MEC2 firmware */
2407 const struct firmware *sdma_fw; /* CIK SDMA firmware */
2408 const struct firmware *smc_fw; /* SMC firmware */
2409 const struct firmware *uvd_fw; /* UVD firmware */
2410 const struct firmware *vce_fw; /* VCE firmware */
2411 bool new_fw;
2412 struct r600_vram_scratch vram_scratch;
2413 int msi_enabled; /* msi enabled */
2414 struct r600_ih ih; /* r6/700 interrupt ring */
2415 struct radeon_rlc rlc;
2416 struct radeon_mec mec;
2417 struct delayed_work hotplug_work;
2418 struct work_struct dp_work;
2419 struct work_struct audio_work;
2420 int num_crtc; /* number of crtcs */
2421 struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */
2422 bool has_uvd;
2423 bool has_vce;
2424 struct r600_audio audio; /* audio stuff */
2425 struct notifier_block acpi_nb;
2427 struct drm_file *hyperz_filp;
2428 struct drm_file *cmask_filp;
2430 struct radeon_i2c_chan *i2c_bus[RADEON_MAX_I2C_BUS];
2432 struct radeon_debugfs debugfs[RADEON_DEBUGFS_MAX_COMPONENTS];
2433 unsigned debugfs_count;
2435 struct radeon_vm_manager vm_manager;
2436 struct mutex gpu_clock_mutex;
2461 int radeon_device_init(struct radeon_device *rdev, argument