drm/i915: Catch up to obj_priv->page_list rename in disabled debug code.
authorKrzysztof Halasa <khc@pm.waw.pl>
Fri, 19 Jun 2009 20:35:09 +0000 (22:35 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 03:19:39 +0000 (20:19 -0700)
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem_debug.c

index f94b5985f734ca1268cd2d3c3748b509f0fe3e8d..e602614bd3f89a9cbbb7f53c6503e93814272a18 100644 (file)
@@ -87,7 +87,7 @@ i915_gem_dump_object(struct drm_gem_object *obj, int len,
                        chunk_len = page_len - chunk;
                        if (chunk_len > 128)
                                chunk_len = 128;
-                       i915_gem_dump_page(obj_priv->page_list[page],
+                       i915_gem_dump_page(obj_priv->pages[page],
                                           chunk, chunk + chunk_len,
                                           obj_priv->gtt_offset +
                                           page * PAGE_SIZE,
@@ -157,7 +157,7 @@ i915_gem_object_check_coherency(struct drm_gem_object *obj, int handle)
        for (page = 0; page < obj->size / PAGE_SIZE; page++) {
                int i;
 
-               backing_map = kmap_atomic(obj_priv->page_list[page], KM_USER0);
+               backing_map = kmap_atomic(obj_priv->pages[page], KM_USER0);
 
                if (backing_map == NULL) {
                        DRM_ERROR("failed to map backing page\n");