Lines Matching refs:gtt_offset
597 loff_t gtt_base, int gtt_offset, in slow_kernel_write() argument
607 memcpy_toio(dst_vaddr + gtt_offset, in slow_kernel_write()
634 offset = obj->gtt_offset + args->offset; in i915_gem_gtt_pwrite_fast()
723 offset = obj->gtt_offset + args->offset; in i915_gem_gtt_pwrite_slow()
1241 pfn = ((dev->agp->base + obj->gtt_offset) >> PAGE_SHIFT) + in i915_gem_fault()
2208 obj->gtt_offset = 0; in i915_gem_object_unbind()
2286 val = (uint64_t)((obj->gtt_offset + size - 4096) & in sandybridge_write_fence_reg()
2288 val |= obj->gtt_offset & 0xfffff000; in sandybridge_write_fence_reg()
2323 val = (uint64_t)((obj->gtt_offset + size - 4096) & in i965_write_fence_reg()
2325 val |= obj->gtt_offset & 0xfffff000; in i965_write_fence_reg()
2358 if (WARN((obj->gtt_offset & ~I915_FENCE_START_MASK) || in i915_write_fence_reg()
2360 (obj->gtt_offset & (size - 1)), in i915_write_fence_reg()
2362 obj->gtt_offset, obj->map_and_fenceable, size)) in i915_write_fence_reg()
2374 val = obj->gtt_offset; in i915_write_fence_reg()
2413 if (WARN((obj->gtt_offset & ~I830_FENCE_START_MASK) || in i830_write_fence_reg()
2415 (obj->gtt_offset & (size - 1)), in i830_write_fence_reg()
2417 obj->gtt_offset, size)) in i830_write_fence_reg()
2423 val = obj->gtt_offset; in i830_write_fence_reg()
2856 obj->gtt_offset = obj->gtt_space->start; in i915_gem_object_bind_to_gtt()
2863 obj->gtt_offset + obj->base.size <= dev_priv->mm.gtt_mappable_end; in i915_gem_object_bind_to_gtt()
3294 if ((alignment && obj->gtt_offset & (alignment - 1)) || in i915_gem_object_pin()
3300 obj->gtt_offset, alignment, in i915_gem_object_pin()
3389 args->offset = obj->gtt_offset; in i915_gem_pin_ioctl()