From: Daniel Vetter Date: Thu, 5 Jul 2012 10:17:30 +0000 (+0200) Subject: drm/i915: adjust framebuffer base address on gen4+ X-Git-Tag: v3.6-rc1~83^2~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2c75131244507c93f812862fdbd4f3a37139401;p=pandora-kernel.git drm/i915: adjust framebuffer base address on gen4+ The tileoffset register only supports a limited offset in x/y of 4096, so for giant screen configuration with a shared fb we wrap around. Fix this by computing a linear offset in tiles (pages) and only use the tileoffset register to offset within the tile. Reviewed-by: Chris Wilson Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed