summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-04-04 17:20:04 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2011-05-29 23:43:19 +0100
commit6ad066d274133dd3f2e8ca085f762e09497bfaf7 (patch)
tree4bbe823780a8d7083cd85b5df7abfa89c3179102
parent98075180f656e23c889dc9f11d57748750719987 (diff)
Remove unused function 'intel_bo_alloc_for_data'
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 314439860e595c473d168c0cafb2b5b49b7fef30) Conflicts: src/intel.h
-rw-r--r--src/intel.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/intel.h b/src/intel.h
index 26704ccf..5ade9bbd 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -1122,22 +1122,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;
-}
-
/* Flags for memory allocation function */
#define NEED_PHYSICAL_ADDR 0x00000001
#define ALIGN_BOTH_ENDS 0x00000002