]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: clean-up i915_gem_flush_gpu_write_domain
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Feb 2010 10:52:01 +0000 (11:52 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2010 21:23:22 +0000 (13:23 -0800)
commit922a2efc1b6ef48e2783f7efeb3a94e952c7ed14
tree68cc2a5ee7029fa49cc8b9cccb57ea00003196b5
parent4df2faf4512c2e2ffa6793e055c73a4e7b8b5e36
drm/i915: clean-up i915_gem_flush_gpu_write_domain

Now that we have an exact gpu write domain tracking, we don't need
to move objects to the active list ourself. i915_add_request will
take care of that under all circumstances.

Idea stolen from a patch by Chris Wilson <chris@chris-wilson.co.uk>.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c