Lines Matching defs:drm_i915_private
815 struct drm_i915_private { struct
816 struct drm_device drm;
819 bool do_release;
822 struct i915_params params;
824 const struct intel_device_info __info; /* Use INTEL_INFO() to access. */
825 struct intel_runtime_info __runtime; /* Use RUNTIME_INFO() to access. */
826 struct intel_driver_caps caps;
835 struct resource dsm;
839 struct resource dsm_reserved;
850 resource_size_t stolen_usable_size; /* Total size minus reserved ranges */
852 struct intel_uncore uncore;
853 struct intel_uncore_mmio_debug mmio_debug;
855 struct i915_virtual_gpu vgpu;
857 struct intel_gvt *gvt;
859 struct intel_wopcm wopcm;
861 struct intel_csr csr;
863 struct intel_gmbus gmbus[GMBUS_NUM_PINS];
867 struct mutex gmbus_mutex;
873 u32 gpio_mmio_base;
875 u32 hsw_psr_mmio_adjust;
878 u32 mipi_mmio_base;
880 u32 pps_mmio_base;
882 wait_queue_head_t gmbus_wait_queue;
884 struct pci_dev *bridge_dev;
886 struct rb_root uabi_engines;
888 struct resource mch_res;
891 spinlock_t irq_lock;
893 bool display_irqs_enabled;
896 struct pm_qos_request pm_qos;
899 struct mutex sb_lock;
900 struct pm_qos_request sb_qos;
903 union {
907 u32 pipestat_irq_mask[I915_MAX_PIPES];
909 struct i915_hotplug hotplug;
910 struct intel_fbc fbc;
911 struct i915_drrs drrs;
912 struct intel_opregion opregion;
913 struct intel_vbt_data vbt;
915 bool preserve_bios_swizzle;
918 struct intel_overlay *overlay;
921 struct mutex backlight_lock;
924 struct mutex pps_mutex;
926 unsigned int fsb_freq, mem_freq, is_ddr3;
927 unsigned int skl_preferred_vco_freq;
928 unsigned int max_cdclk_freq;
930 unsigned int max_dotclk_freq;
931 unsigned int hpll_freq;
932 unsigned int fdi_pll_freq;
933 unsigned int czclk_freq;
935 struct {
943 } cdclk;
945 struct {
950 } dbuf;
959 struct workqueue_struct *wq;
962 struct workqueue_struct *modeset_wq;
964 struct workqueue_struct *flip_wq;
967 struct drm_i915_display_funcs display;
970 enum intel_pch pch_type;
971 unsigned short pch_id;
973 unsigned long quirks;
975 struct drm_atomic_state *modeset_restore_state;
976 struct drm_modeset_acquire_ctx reset_ctx;
978 struct i915_ggtt ggtt; /* VM representing the global address space */
980 struct i915_gem_mm mm;
982 spinlock_t mm_lock;
986 struct intel_crtc *plane_to_crtc_mapping[I915_MAX_PIPES];
987 struct intel_crtc *pipe_to_crtc_mapping[I915_MAX_PIPES];
995 struct {
1006 } dpll;
1008 struct list_head global_obj_list;
1014 u8 active_pipes;
1016 struct i915_wa_list gt_wa_list;
1018 struct i915_frontbuffer_tracking fb_tracking;
1020 struct intel_atomic_helper {
1023 } atomic_helper;
1025 bool mchbar_need_disable;
1027 struct intel_l3_parity l3_parity;
1035 u32 hti_state;
1041 u32 edram_size_mb;
1043 struct i915_power_domains power_domains;
1045 struct i915_psr psr;
1047 struct i915_gpu_error gpu_error;
1049 struct drm_i915_gem_object *vlv_pctx;
1052 struct intel_fbdev *fbdev;
1053 struct work_struct fbdev_suspend_work;
1055 struct drm_property *broadcast_rgb_property;
1056 struct drm_property *force_audio_property;
1059 struct i915_audio_component *audio_component;
1060 bool audio_component_registered;
1065 struct mutex av_mutex;
1066 int audio_power_refcount;
1067 u32 audio_freq_cntrl;
1069 u32 fdi_rx_config;
1072 u32 chv_phy_control;
1078 u32 chv_dpll_md[I915_MAX_PIPES];
1079 u32 bxt_phy_grc;
1081 u32 suspend_count;
1082 bool power_domains_suspended;
1083 struct i915_suspend_saved_registers regfile;
1084 struct vlv_s0ix_state *vlv_s0ix_state;
1086 enum {
1091 } sagv_status;
1093 u32 sagv_block_time_us;
1095 struct {
1138 } wm;
1140 struct dram_info {
1154 } dram_info;
1156 struct intel_bw_info {
1161 } max_bw[6];
1163 struct intel_global_obj bw_obj;
1165 struct intel_runtime_pm runtime_pm;
1167 struct i915_perf perf;
1170 struct intel_gt gt;
1172 struct {
1190 } gem;
1192 u8 pch_ssc_use;
1195 u8 vblank_enabled;
1198 bool chv_phy_assert[2];
1200 bool ipc_enabled;
1203 struct intel_encoder *av_enc_map[I915_MAX_PIPES];
1227 static inline struct drm_i915_private *to_i915(const struct drm_device *dev) in to_i915() argument