Lines Matching refs:master_priv

110 	struct drm_i915_master_private *master_priv;  in i915_kernel_lost_context()  local
129 master_priv = dev->primary->master->driver_priv; in i915_kernel_lost_context()
130 if (ring->head == ring->tail && master_priv->sarea_priv) in i915_kernel_lost_context()
131 master_priv->sarea_priv->perf_boxes |= I915_BOX_RING_EMPTY; in i915_kernel_lost_context()
161 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; in i915_initialize() local
164 master_priv->sarea = drm_getsarea(dev); in i915_initialize()
165 if (master_priv->sarea) { in i915_initialize()
166 master_priv->sarea_priv = (drm_i915_sarea_t *) in i915_initialize()
167 ((u8 *)master_priv->sarea->handle + init->sarea_priv_offset); in i915_initialize()
193 if (master_priv->sarea_priv) in i915_initialize()
194 master_priv->sarea_priv->pf_current_page = 0; in i915_initialize()
401 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; in i915_emit_breadcrumb() local
406 if (master_priv->sarea_priv) in i915_emit_breadcrumb()
407 master_priv->sarea_priv->last_enqueue = dev_priv->counter; in i915_emit_breadcrumb()
517 struct drm_i915_master_private *master_priv = in i915_dispatch_flip() local
521 if (!master_priv->sarea_priv) in i915_dispatch_flip()
527 master_priv->sarea_priv->pf_current_page); in i915_dispatch_flip()
554 master_priv->sarea_priv->last_enqueue = dev_priv->counter++; in i915_dispatch_flip()
564 master_priv->sarea_priv->pf_current_page = dev_priv->current_page; in i915_dispatch_flip()
594 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; in i915_batchbuffer() local
596 master_priv->sarea_priv; in i915_batchbuffer()
647 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; in i915_cmdbuffer() local
649 master_priv->sarea_priv; in i915_cmdbuffer()
1346 struct drm_i915_master_private *master_priv; in i915_master_create() local
1348 master_priv = kzalloc(sizeof(*master_priv), GFP_KERNEL); in i915_master_create()
1349 if (!master_priv) in i915_master_create()
1352 master->driver_priv = master_priv; in i915_master_create()
1358 struct drm_i915_master_private *master_priv = master->driver_priv; in i915_master_destroy() local
1360 if (!master_priv) in i915_master_destroy()
1363 kfree(master_priv); in i915_master_destroy()