[Intel-gfx] [PATCH 2/2] drm/i915: adjust framebuffer base address on gen4+
Chris Wilson
chris at chris-wilson.co.uk
Thu Jul 5 12:29:10 CEST 2012
On Thu, 5 Jul 2012 12:17:30 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> 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.
>
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Both Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
We could do with validating that the CRTC is within the fb->obj,
otherwise we run foul of hanging the hardware. (Since this is a
pre-existing condition it doesn't mar these patches.)
So the only question is whether we indicate to userspace that the kernel
is fixed? Or just kill the w/a in userspace and for reasons of sanity
strongly encourage everyone who hits this to upgrade? Since this is no
stable material, having keeping the w/a seems to make sense...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list