Lines Matching refs:master_priv

87 	struct drm_i915_master_private *master_priv;
90 master_priv = dev->primary->master->driver_priv;
91 if (master_priv->sarea_priv)
92 master_priv->sarea_priv->last_dispatch =
134 struct drm_i915_master_private *master_priv;
153 master_priv = dev->primary->master->driver_priv;
154 if (ring->head == ring->tail && master_priv->sarea_priv)
155 master_priv->sarea_priv->perf_boxes |= I915_BOX_RING_EMPTY;
185 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
188 master_priv->sarea = drm_getsarea(dev);
189 if (master_priv->sarea) {
190 master_priv->sarea_priv = (drm_i915_sarea_t *)(uintptr_t)
191 ((u8 *)master_priv->sarea->handle + init->sarea_priv_offset);
217 if (master_priv->sarea_priv)
218 master_priv->sarea_priv->pf_current_page = 0;
430 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
435 if (master_priv->sarea_priv)
436 master_priv->sarea_priv->last_enqueue = dev_priv->dri1.counter;
546 struct drm_i915_master_private *master_priv =
550 if (!master_priv->sarea_priv)
556 master_priv->sarea_priv->pf_current_page);
583 master_priv->sarea_priv->last_enqueue = dev_priv->dri1.counter++;
593 master_priv->sarea_priv->pf_current_page = dev_priv->dri1.current_page;
624 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
626 master_priv->sarea_priv;
680 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
682 master_priv->sarea_priv;
748 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
757 if (master_priv->sarea_priv)
758 master_priv->sarea_priv->last_enqueue = dev_priv->dri1.counter;
774 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv;
782 if (master_priv->sarea_priv)
783 master_priv->sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv);
787 if (master_priv->sarea_priv)
788 master_priv->sarea_priv->perf_boxes |= I915_BOX_WAIT;
1292 struct drm_i915_master_private *master_priv;
1294 master_priv = kzalloc(sizeof(*master_priv), GFP_KERNEL);
1295 if (!master_priv)
1298 master->driver_priv = master_priv;
1305 struct drm_i915_master_private *master_priv = master->driver_priv;
1307 if (!master_priv)
1310 kfree(master_priv, sizeof(struct drm_i915_master_private));