Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 921809a5 authored by Krzysztof Halasa's avatar Krzysztof Halasa Committed by Eric Anholt
Browse files

drm/i915: Catch up to obj_priv->page_list rename in disabled debug code.



Signed-off-by: default avatarKrzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent cfd43c02
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -87,7 +87,7 @@ i915_gem_dump_object(struct drm_gem_object *obj, int len,
			chunk_len = page_len - chunk;
			chunk_len = page_len - chunk;
			if (chunk_len > 128)
			if (chunk_len > 128)
				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,
					   chunk, chunk + chunk_len,
					   obj_priv->gtt_offset +
					   obj_priv->gtt_offset +
					   page * PAGE_SIZE,
					   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++) {
	for (page = 0; page < obj->size / PAGE_SIZE; page++) {
		int i;
		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) {
		if (backing_map == NULL) {
			DRM_ERROR("failed to map backing page\n");
			DRM_ERROR("failed to map backing page\n");