]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move the execbuffer domain computations together
authorKeith Packard <keithp@keithp.com>
Fri, 21 Nov 2008 07:23:03 +0000 (23:23 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:22:02 +0000 (11:22 +1000)
commitad90c25aa5acb2595724ab1965e12e4f6bd7e1e2
tree78182c7c580bf961c0e8f31accf573eae908ca7b
parentfd8971f31914f6bc0e38f66c9d375e24c3f73e78
drm/i915: Move the execbuffer domain computations together

This eliminates the dev_set_domain function and just in-lines it
where its used, with the goal of moving the manipulation and use of
invalidate_domains and flush_domains closer together. This also
avoids calling add_request unless some domain has been flushed.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c