All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RFT gem_mmap_gtt/gdg: 2 tile rows
@ 2018-05-10  8:13 Chris Wilson
  2018-05-10  8:28 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chris Wilson @ 2018-05-10  8:13 UTC (permalink / raw)
  To: intel-gfx

---
 drivers/gpu/drm/i915/i915_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 89bf5d67cb74..d92857c879c1 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1958,7 +1958,7 @@ compute_partial_view(struct drm_i915_gem_object *obj,
 	struct i915_ggtt_view view;
 
 	if (i915_gem_object_is_tiled(obj))
-		chunk = roundup(chunk, tile_row_pages(obj));
+		chunk = roundup(chunk, 2 * tile_row_pages(obj));
 
 	view.type = I915_GGTT_VIEW_PARTIAL;
 	view.partial.offset = rounddown(page_offset, chunk);
-- 
2.17.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-10 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10  8:13 [PATCH] RFT gem_mmap_gtt/gdg: 2 tile rows Chris Wilson
2018-05-10  8:28 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2018-05-10  8:46 ` ✓ Fi.CI.BAT: success " Patchwork
2018-05-10  8:49 ` [PATCH] " Chris Wilson
2018-05-10 10:17 ` ✓ Fi.CI.IGT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.