[intel-gem] Move domains to relocation records. add set_domain ioctl.
authorKeith Packard <keithp@keithp.com>
Thu, 8 May 2008 17:44:02 +0000 (10:44 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 8 May 2008 17:44:02 +0000 (10:44 -0700)
commit9af4c497433398fa4576a7c1c31036448cf4f24c
tree796775f0bebcdedc7b28dbc2511bfc00797786fc
parenteffc6d998f080ba6f9c81d1b4b0e75a42be0238e
[intel-gem] Move domains to relocation records. add set_domain ioctl.

Domain information is about buffer relationships, not buffer contents. That
means a relocation contains the domain information as it knows how the
source buffer references the target buffer.

This also adds the set_domain ioctl so that user space can move buffers to
the cpu domain.
linux-core/drmP.h
linux-core/drm_drv.c
linux-core/drm_gem.c
linux-core/i915_drv.c
linux-core/i915_gem.c
shared-core/i915_drm.h
shared-core/i915_drv.h