• Home
  • Raw
  • Download

Lines Matching defs:drm_i915_private

1282 struct drm_i915_private {  struct
1283 struct drm_device drm;
1285 const struct intel_device_info __info; /* Use INTEL_INFO() to access. */
1286 struct intel_runtime_info __runtime; /* Use RUNTIME_INFO() to access. */
1287 struct intel_driver_caps caps;
1296 struct resource dsm;
1300 struct resource dsm_reserved;
1311 resource_size_t stolen_usable_size; /* Total size minus reserved ranges */
1313 struct intel_uncore uncore;
1314 struct intel_uncore_mmio_debug mmio_debug;
1316 struct i915_virtual_gpu vgpu;
1318 struct intel_gvt *gvt;
1320 struct intel_wopcm wopcm;
1322 struct intel_csr csr;
1324 struct intel_gmbus gmbus[GMBUS_NUM_PINS];
1328 struct mutex gmbus_mutex;
1334 u32 gpio_mmio_base;
1337 u32 mipi_mmio_base;
1339 u32 psr_mmio_base;
1341 u32 pps_mmio_base;
1343 wait_queue_head_t gmbus_wait_queue;
1345 struct pci_dev *bridge_dev;
1348 struct i915_gem_context *kernel_context;
1350 struct intel_engine_cs *engine[I915_NUM_ENGINES];
1351 struct rb_root uabi_engines;
1353 struct resource mch_res;
1356 spinlock_t irq_lock;
1358 bool display_irqs_enabled;
1361 struct pm_qos_request pm_qos;
1364 struct mutex sb_lock;
1365 struct pm_qos_request sb_qos;
1368 union {
1372 u32 pm_rps_events;
1373 u32 pipestat_irq_mask[I915_MAX_PIPES];
1375 struct i915_hotplug hotplug;
1376 struct intel_fbc fbc;
1377 struct i915_drrs drrs;
1378 struct intel_opregion opregion;
1379 struct intel_vbt_data vbt;
1381 bool preserve_bios_swizzle;
1384 struct intel_overlay *overlay;
1387 struct mutex backlight_lock;
1390 struct mutex pps_mutex;
1392 unsigned int fsb_freq, mem_freq, is_ddr3;
1393 unsigned int skl_preferred_vco_freq;
1394 unsigned int max_cdclk_freq;
1396 unsigned int max_dotclk_freq;
1397 unsigned int rawclk_freq;
1398 unsigned int hpll_freq;
1399 unsigned int fdi_pll_freq;
1400 unsigned int czclk_freq;
1402 struct {
1420 } cdclk;
1429 struct workqueue_struct *wq;
1432 struct workqueue_struct *modeset_wq;
1435 struct drm_i915_display_funcs display;
1438 enum intel_pch pch_type;
1439 unsigned short pch_id;
1441 unsigned long quirks;
1443 struct drm_atomic_state *modeset_restore_state;
1444 struct drm_modeset_acquire_ctx reset_ctx;
1446 struct i915_ggtt ggtt; /* VM representing the global address space */
1448 struct i915_gem_mm mm;
1450 struct mutex mm_lock;
1454 struct intel_crtc *plane_to_crtc_mapping[I915_MAX_PIPES];
1455 struct intel_crtc *pipe_to_crtc_mapping[I915_MAX_PIPES];
1458 struct intel_pipe_crc pipe_crc[I915_MAX_PIPES];
1462 int num_shared_dpll;
1463 struct intel_shared_dpll shared_dplls[I915_NUM_PLLS];
1464 const struct intel_dpll_mgr *dpll_mgr;
1471 struct mutex dpll_lock;
1473 unsigned int active_crtcs;
1475 int min_cdclk[I915_MAX_PIPES];
1477 u8 min_voltage_level[I915_MAX_PIPES];
1479 int dpio_phy_iosf_port[I915_NUM_PHYS_VLV];
1481 struct i915_wa_list gt_wa_list;
1483 struct i915_frontbuffer_tracking fb_tracking;
1485 struct intel_atomic_helper {
1488 } atomic_helper;
1490 u16 orig_clock;
1492 bool mchbar_need_disable;
1494 struct intel_l3_parity l3_parity;
1500 u32 edram_size_mb;
1503 struct intel_gen6_power_mgmt gt_pm;
1507 struct intel_ilk_power_mgmt ips;
1509 struct i915_power_domains power_domains;
1511 struct i915_psr psr;
1513 struct i915_gpu_error gpu_error;
1515 struct drm_i915_gem_object *vlv_pctx;
1518 struct intel_fbdev *fbdev;
1519 struct work_struct fbdev_suspend_work;
1521 struct drm_property *broadcast_rgb_property;
1522 struct drm_property *force_audio_property;
1525 struct i915_audio_component *audio_component;
1526 bool audio_component_registered;
1531 struct mutex av_mutex;
1532 int audio_power_refcount;
1534 struct {
1551 } contexts;
1553 u32 fdi_rx_config;
1556 u32 chv_phy_control;
1562 u32 chv_dpll_md[I915_MAX_PIPES];
1563 u32 bxt_phy_grc;
1565 u32 suspend_count;
1566 bool power_domains_suspended;
1567 struct i915_suspend_saved_registers regfile;
1568 struct vlv_s0ix_state *vlv_s0ix_state;
1570 enum {
1575 } sagv_status;
1577 struct {
1619 } wm;
1621 struct dram_info {
1635 } dram_info;
1637 struct intel_bw_info {
1641 } max_bw[6];
1643 struct drm_private_obj bw_obj;
1645 struct intel_runtime_pm runtime_pm;
1647 struct {
1701 } perf;
1704 struct intel_gt gt;
1706 struct {
1726 } gem;
1728 u8 pch_ssc_use;
1731 struct {
1736 } i945gm_vblank;
1739 bool chv_phy_assert[2];
1741 bool ipc_enabled;
1744 struct intel_encoder *av_enc_map[I915_MAX_PIPES];
1747 struct {
1750 } lpe_audio;
1752 struct i915_pmu pmu;
1776 static inline struct drm_i915_private *to_i915(const struct drm_device *dev) in to_i915() argument