[intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks.
authorKeith Packard <keithp@keithp.com>
Sun, 11 May 2008 07:16:25 +0000 (00:16 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 May 2008 07:16:25 +0000 (00:16 -0700)
commit145523ba3acb95a9ff390430a9e0a3fa958cae1b
treeb783bdcfe39964f41f0fb85e05ec6a666937ab35
parent0cb006c1fdb75e1fe282120cc5455a4e8c59b1a7
[intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks.

Track DRM GEM name changes.
Add driver hooks for bo_subdata and bo_get_subdata so that GEM can use pread
and pwrite.
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c