Lines Matching defs:radeon_device

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