GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.
authorEric Anholt <eric@anholt.net>
Wed, 7 May 2008 20:51:29 +0000 (13:51 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 7 May 2008 20:51:29 +0000 (13:51 -0700)
commitab50ddaa9173ae108833db0edb209045788efc41
tree83212955a79d5b74bc0d368988f9bbb38fe8ec00
parent8b2a7f08bc446deef497f2a0d3b54d9b70bdaf9c
GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.

The GEM flags are much more descriptive for what we need.  Since this makes
bufmgr_fake rather device-specific, move it to the intel common directory.
We've wanted to do device-specific stuff to it before.
28 files changed:
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_bufmgr_fake.c [deleted file]
src/mesa/drivers/dri/i915/Makefile
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i915/intel_bufmgr_fake.c [new symlink]
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_gs_state.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/brw_vs_state.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_bufmgr_fake.c [new symlink]
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_bufmgr_fake.c [new file with mode: 0644]
src/mesa/drivers/dri/intel/intel_bufmgr_fake.h [new file with mode: 0644]
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c
src/mesa/drivers/dri/intel/intel_context.c