Lines Matching defs:msm_drm_private

137 struct msm_drm_private {  struct
139 struct drm_device *dev;
141 struct msm_kms *kms;
144 struct platform_device *gpu_pdev;
147 struct msm_mdss *mdss;
152 struct hdmi *hdmi;
158 struct msm_edp *edp;
161 struct msm_dsi *dsi[2];
163 struct msm_dp *dp[MSM_DP_CONTROLLER_COUNT];
166 struct msm_gpu *gpu;
167 struct msm_file_private *lastctx;
169 bool is_a2xx;
170 bool has_cached_coherent;
172 struct drm_fb_helper *fbdev;
174 struct msm_rd_state *rd; /* debugfs to dump all submits */
175 struct msm_rd_state *hangrd; /* debugfs to dump hanging submits */
176 struct msm_perf_state *perf;
182 struct list_head objects;
183 struct mutex obj_lock;
202 struct list_head inactive_willneed; /* inactive + potentially unpin/evictable */
203 struct list_head inactive_dontneed; /* inactive + shrinkable */
204 struct list_head inactive_unpinned; /* inactive + purged or unpinned */
205 long shrinkable_count; /* write access under mm_lock */
206 long evictable_count; /* write access under mm_lock */
207 struct mutex mm_lock;
209 struct workqueue_struct *wq;
211 unsigned int num_planes;
212 struct drm_plane *planes[MAX_PLANES];
214 unsigned int num_crtcs;
215 struct drm_crtc *crtcs[MAX_CRTCS];
217 struct msm_drm_thread event_thread[MAX_CRTCS];
219 unsigned int num_encoders;
220 struct drm_encoder *encoders[MAX_ENCODERS];
222 unsigned int num_bridges;
223 struct drm_bridge *bridges[MAX_BRIDGES];
225 unsigned int num_connectors;
226 struct drm_connector *connectors[MAX_CONNECTORS];
229 struct drm_property *plane_property[PLANE_PROP_MAX_NUM];
232 struct {
240 } vram;
242 struct notifier_block vmap_notifier;
243 struct shrinker shrinker;
245 struct drm_atomic_state *pm_state;
248 unsigned int hangcheck_period;