Lines Matching defs:dev_priv
287 struct drm_i915_private *dev_priv = obj->base.dev->dev_private;
324 if (dev_priv->mm.aliasing_ppgtt && !obj->has_aliasing_ppgtt_mapping) {
325 i915_ppgtt_bind_object(dev_priv->mm.aliasing_ppgtt,
719 drm_i915_private_t *dev_priv = dev->dev_private;
722 if (!IS_GEN7(dev) || ring != &dev_priv->ring[RCS])
747 drm_i915_private_t *dev_priv = dev->dev_private;
782 ring = &dev_priv->ring[RCS];
785 ring = &dev_priv->ring[VCS];
793 ring = &dev_priv->ring[BCS];
801 ring = &dev_priv->ring[VECS];
826 if (ring == &dev_priv->ring[RCS] &&
827 mode != dev_priv->relative_constants_mode) {
851 if (ring != &dev_priv->ring[RCS]) {
887 if (dev_priv->mm.suspended || dev_priv->gpu_hang) {
904 list_add(&node->head, &dev_priv->batch_list, (caddr_t)node);
987 if (ring == &dev_priv->ring[RCS] &&
988 mode != dev_priv->relative_constants_mode) {
999 dev_priv->relative_constants_mode = mode;