intel: Rename dri_ and intel_ symbols to drm_intel_.
authorEric Anholt <eric@anholt.net>
Thu, 30 Oct 2008 16:33:07 +0000 (09:33 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Oct 2008 18:29:40 +0000 (11:29 -0700)
commit4b9826408f65976a1a13387beda748b65e03ec52
tree9a973c821b0b4e198905d0ae377d56a96cb592e0
parent0e867312323fa51af324228b98bff4f49a813481
intel: Rename dri_ and intel_ symbols to drm_intel_.

I wanted to avoid doing this, as it's a bunch of churn, but there was a
conflict between the dri_ symbols in libdrm and the symbols that were in
Mesa in 7.2, which broke Mesa 7.2 AIGLX when the 2D driver had loaded new
libdrm symbols.  The new naming was recommended by cworth for giving the
code a unique prefix identifying where the code lives.

Additionally, take the opportunity to fix up two API mistakes: emit_reloc's
arguments were in a nonsensical order, and set_tiling lacked the stride
argument that the kernel will want to use soon.  API compatibility with
released code is maintained using #defines.
libdrm/intel/intel_bufmgr.c
libdrm/intel/intel_bufmgr.h
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c
libdrm/intel/intel_bufmgr_priv.h