Re: [Intel-gfx] [PATCH 1/5 v5] drm/i915: Stop using AGP layer for GEN6+

2012-11-09 Thread Chris Wilson
On Sun, 4 Nov 2012 09:21:27 -0800, Ben Widawsky b...@bwidawsk.net wrote: void i915_gem_gtt_bind_object(struct drm_i915_gem_object *obj, enum i915_cache_level cache_level) { struct drm_device *dev = obj-base.dev; - unsigned int agp_type =

[Intel-gfx] [PATCH 1/5 v5] drm/i915: Stop using AGP layer for GEN6+

2012-11-04 Thread Ben Widawsky
As a quick hack we make the old intel_gtt structure mutable so we can fool a bunch of the existing code which depends on elements in that data structure. We can/should try to remove this in a subsequent patch. This should preserve the old gtt init behavior which upon writing these patches seems