commit | 646f0f6e43bf6628b1f0f8ca6c0227ce72e8ef3c | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Nov 20 23:23:03 2008 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Thu Dec 04 11:22:02 2008 +1000 |
tree | 78182c7c580bf961c0e8f31accf573eae908ca7b | |
parent | c0d90829288942fa06d7483f9e84059a64605da5 [diff] |
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>