diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-04 17:20:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-04 17:20:04 +0100 |
commit | 314439860e595c473d168c0cafb2b5b49b7fef30 (patch) | |
tree | 5fd60140554d16d414084494b5155807683a47e6 | |
parent | ced747cefb5e697e6caa65296dff728904f52b93 (diff) |
Remove unused function 'intel_bo_alloc_for_data'
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/intel.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/intel.h b/src/intel.h index 8a54aefa..49cba1ad 100644 --- a/src/intel.h +++ b/src/intel.h @@ -654,22 +654,6 @@ intel_emit_reloc(drm_intel_bo * bo, uint32_t offset, return target_bo->offset + target_offset; } -static inline drm_intel_bo *intel_bo_alloc_for_data(ScrnInfoPtr scrn, - void *data, - unsigned int size, - char *name) -{ - intel_screen_private *intel = intel_get_screen_private(scrn); - drm_intel_bo *bo; - - bo = drm_intel_bo_alloc(intel->bufmgr, name, size, 4096); - if (!bo) - return NULL; - drm_intel_bo_subdata(bo, 0, size, data); - - return bo; -} - void intel_debug_flush(ScrnInfoPtr scrn); static inline PixmapPtr get_drawable_pixmap(DrawablePtr drawable) |