[gem] Move potentially device-specific ioctls to the intel driver.
authorEric Anholt <eric@anholt.net>
Wed, 11 Jun 2008 21:42:40 +0000 (14:42 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 11 Jun 2008 21:42:40 +0000 (14:42 -0700)
commit2655005762b8915d5f44d1d1ee7e6c2eb34841d7
tree0144197d4c66b0812ee2b0b93554e09cc7ef3047
parent2a35d857b35c9d30d073e2372aa302cd999321ba
[gem] Move potentially device-specific ioctls to the intel driver.

This is the create (may want location flags), pread/pwrite/mmap
(performance tuning hints), and set_domain (will 32 bits be enough for
everyone?) ioctls.  Left in the generic set are just flink/open/close.

The 2D driver must be updated for this change, and API but not ABI is broken
for 3D.  The driver version is bumped to mark this.
14 files changed:
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c
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/drm.h
shared-core/i915_dma.c
shared-core/i915_drm.h
shared-core/i915_drv.h
tests/gem_basic.c
tests/gem_mmap.c
tests/gem_readwrite.c