diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 11:56:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 12:17:31 +0100 |
commit | 95374225e865da3a30153f73e8bb536700d15459 (patch) | |
tree | ab8797a6f255a0d76e5d8e7439b8fe4a9b34ca90 /lib/intel_batchbuffer.h | |
parent | cd64e193299be4b9733a5e804cedd99e2072830f (diff) |
Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r-- | lib/intel_batchbuffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 5b4ab930..fcd9ceb6 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -115,4 +115,8 @@ intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch) intel_batchbuffer_emit_dword(batch, MI_FLUSH); } +void intel_copy_bo(struct intel_batchbuffer *batch, + drm_intel_bo *dst_bo, drm_intel_bo *src_bo, + int width, int height, uint32_t devid); + #endif |