diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-30 03:59:50 +0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-05-11 00:56:43 +0400 |
commit | 93dfb40cd887c4f39e38f047c4d9ea0b7188a58a (patch) | |
tree | f10a6ac6b5e02361f6045795babbb81d5755ce90 /drivers/gpu/drm/i915/i915_irq.c | |
parent | e76d3630810b0ac5b07aa7ef28428c1bc2d10861 (diff) | |
download | linux-93dfb40cd887c4f39e38f047c4d9ea0b7188a58a.tar.xz |
drm/i915: Rename agp_type to cache_level
... to clarify just how we use it inside the driver and remove the
confusion of the poorly matching agp_type names. We still need to
translate through agp_type for interface into the fake AGP driver.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 46ccfc814ea7..6225c336de30 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -676,7 +676,7 @@ static u32 capture_bo_list(struct drm_i915_error_buffer *err, err->dirty = obj->dirty; err->purgeable = obj->madv != I915_MADV_WILLNEED; err->ring = obj->ring ? obj->ring->id : 0; - err->agp_type = obj->agp_type == AGP_USER_CACHED_MEMORY; + err->cache_level = obj->cache_level; if (++i == count) break; |