drm/i915: Rename object_set_domain to object_set_to_gpu_domain
authorKeith Packard <keithp@keithp.com>
Fri, 21 Nov 2008 07:11:08 +0000 (23:11 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:21:58 +0000 (11:21 +1000)
commitc0d90829288942fa06d7483f9e84059a64605da5
treeb34e111029ddb0a87dbf552e0ebe7a06460bca58
parente47c68e9c5d71e2faab8c2b82f57c6c73e6456fd
drm/i915: Rename object_set_domain to object_set_to_gpu_domain

Now that the CPU and GTT domain operations are isolated to their own
functions, the previously general-purpose set_domain function is now used
only to set GPU domains. It also has no failure cases, which is important as
this eliminates any possible interruption of the computation of new object
domains and subsequent emmission of the flushing instructions into the ring.

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