Lines Matching defs:radeon_device
2340 struct radeon_device { struct
2341 struct device *dev;
2342 struct drm_device *ddev;
2343 struct pci_dev *pdev;
2345 struct pci_controller *hose;
2347 struct radeon_agp_head *agp;
2348 struct rw_semaphore exclusive_lock;
2350 union radeon_asic_config config;
2351 enum radeon_family family;
2352 unsigned long flags;
2353 int usec_timeout;
2354 enum radeon_pll_errata pll_errata;
2355 int num_gb_pipes;
2356 int num_z_pipes;
2357 int disp_priority;
2359 uint8_t *bios;
2360 bool is_atom_bios;
2361 uint16_t bios_header_start;
2362 struct radeon_bo *stolen_vga_memory;
2364 resource_size_t rmmio_base;
2365 resource_size_t rmmio_size;
2367 spinlock_t mmio_idx_lock;
2369 spinlock_t smc_idx_lock;
2371 spinlock_t pll_idx_lock;
2373 spinlock_t mc_idx_lock;
2375 spinlock_t pcie_idx_lock;
2377 spinlock_t pciep_idx_lock;
2379 spinlock_t pif_idx_lock;
2381 spinlock_t cg_idx_lock;
2383 spinlock_t uvd_idx_lock;
2385 spinlock_t rcu_idx_lock;
2387 spinlock_t didt_idx_lock;
2389 spinlock_t end_idx_lock;
2390 void __iomem *rmmio;
2391 radeon_rreg_t mc_rreg;
2392 radeon_wreg_t mc_wreg;
2393 radeon_rreg_t pll_rreg;
2394 radeon_wreg_t pll_wreg;
2395 uint32_t pcie_reg_mask;
2396 radeon_rreg_t pciep_rreg;
2397 radeon_wreg_t pciep_wreg;
2399 void __iomem *rio_mem;
2400 resource_size_t rio_mem_size;
2401 struct radeon_clock clock;
2402 struct radeon_mc mc;
2403 struct radeon_gart gart;
2404 struct radeon_mode_info mode_info;
2405 struct radeon_scratch scratch;
2406 struct radeon_doorbell doorbell;
2407 struct radeon_mman mman;
2408 struct radeon_fence_driver fence_drv[RADEON_NUM_RINGS];
2409 wait_queue_head_t fence_queue;
2410 u64 fence_context;
2411 struct mutex ring_lock;
2412 struct radeon_ring ring[RADEON_NUM_RINGS];
2413 bool ib_pool_ready;
2414 struct radeon_sa_manager ring_tmp_bo;
2415 struct radeon_irq irq;
2416 struct radeon_asic *asic;
2417 struct radeon_gem gem;
2418 struct radeon_pm pm;
2419 struct radeon_uvd uvd;
2420 struct radeon_vce vce;
2421 uint32_t bios_scratch[RADEON_BIOS_NUM_SCRATCH];
2422 struct radeon_wb wb;
2423 struct radeon_dummy_page dummy_page;
2424 bool shutdown;
2425 bool need_swiotlb;
2426 bool accel_working;
2427 bool fastfb_working; /* IGP feature*/
2428 bool needs_reset, in_reset;
2429 struct radeon_surface_reg surface_regs[RADEON_GEM_MAX_SURFACES];
2430 const struct firmware *me_fw; /* all family ME firmware */
2431 const struct firmware *pfp_fw; /* r6/700 PFP firmware */
2432 const struct firmware *rlc_fw; /* r6/700 RLC firmware */
2433 const struct firmware *mc_fw; /* NI MC firmware */
2434 const struct firmware *ce_fw; /* SI CE firmware */
2435 const struct firmware *mec_fw; /* CIK MEC firmware */
2436 const struct firmware *mec2_fw; /* KV MEC2 firmware */
2437 const struct firmware *sdma_fw; /* CIK SDMA firmware */
2438 const struct firmware *smc_fw; /* SMC firmware */
2439 const struct firmware *uvd_fw; /* UVD firmware */
2440 const struct firmware *vce_fw; /* VCE firmware */
2441 bool new_fw;
2442 struct r600_vram_scratch vram_scratch;
2443 int msi_enabled; /* msi enabled */
2444 struct r600_ih ih; /* r6/700 interrupt ring */
2445 struct radeon_rlc rlc;
2446 struct radeon_mec mec;
2447 struct delayed_work hotplug_work;
2448 struct work_struct dp_work;
2449 struct work_struct audio_work;
2450 int num_crtc; /* number of crtcs */
2451 struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */
2452 bool has_uvd;
2453 bool has_vce;
2454 struct r600_audio audio; /* audio stuff */
2455 struct notifier_block acpi_nb;
2457 struct drm_file *hyperz_filp;
2458 struct drm_file *cmask_filp;
2460 struct radeon_i2c_chan *i2c_bus[RADEON_MAX_I2C_BUS];
2462 struct radeon_vm_manager vm_manager;
2463 struct mutex gpu_clock_mutex;
2488 int radeon_device_init(struct radeon_device *rdev, argument