]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: Set the context before setting up regs for the context.
authorEric Anholt <eric@anholt.net>
Mon, 23 Jul 2012 19:33:55 +0000 (12:33 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 08:39:59 +0000 (10:39 +0200)
commit0da5cec1de1eb39563fb6ca2be48c0e56fed6309
tree427e07994ce7c4428c939390bb705e9849a766f7
parent35313cde4c582f3581a4b8397311f302680625f5
drm/i915: Set the context before setting up regs for the context.

Fixes failures in transform feedback on gen7 because our SOL_RESET
flag was setting the transform feedback offsets in the old context
(occasionally happened to be ours) instead of the new context.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c