[Intel-gfx] [PATCH] drm/intel: fix up set_tiling for untiled->tiled transition

Eric Anholt eric at anholt.net
Thu Mar 18 21:53:13 CET 2010


On Thu, 18 Mar 2010 09:22:12 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Bug introduced in
> 
> commit 10ae9bd25acf394c8fa2f9d795dfa9cec4d19ed6
> Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> Date:   Mon Feb 1 13:59:17 2010 +0100
> 
>     drm/i915: blow away userspace mappings before fence change
> 
> The problem is that when there's no fence reg assigned and the object
> is mapped at a fenceable offset in the gtt, the userspace mappings won't
> be teared down. Which happens on untiled->tiled transition quite often
> on 4th gen and later because there fencing does not have any special
> alignment constraints (as opposed to 2nd and 3rd gen on which I've tested
> the original commit).
> 
> Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=26993
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Applied.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100318/c08ae621/attachment.sig>


More information about the Intel-gfx mailing list