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)
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>

No differences found