Lines Matching refs:i915
209 struct i915_device *i915 = bo->drv->priv; in i915_align_dimensions() local
233 if (i915->gen == 3) { in i915_align_dimensions()
244 if (i915->gen > 3) { in i915_align_dimensions()
253 if (i915->gen <= 3 && *stride > 8192) in i915_align_dimensions()
275 struct i915_device *i915; in i915_init() local
278 i915 = calloc(1, sizeof(*i915)); in i915_init()
279 if (!i915) in i915_init()
288 free(i915); in i915_init()
292 i915->gen = i915_get_gen(device_id); in i915_init()
296 get_param.value = &i915->has_llc; in i915_init()
300 free(i915); in i915_init()
304 drv->priv = i915; in i915_init()
539 struct i915_device *i915 = bo->drv->priv; in i915_bo_flush() local
540 if (!i915->has_llc && bo->tiling == I915_TILING_NONE) in i915_bo_flush()