summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 2dcb09ce..ecc23f08 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -215,6 +215,7 @@ void intel_copy_bo(struct intel_batchbuffer *batch,
* @bo: underlying libdrm buffer object
* @stride: stride of the buffer
* @tiling: tiling mode bits
+ * @bpp: bits per pixel, 8, 16 or 32.
* @data: pointer to the memory mapping of the buffer
* @size: size of the buffer object
*
@@ -226,6 +227,7 @@ struct igt_buf {
drm_intel_bo *bo;
uint32_t stride;
uint32_t tiling;
+ uint32_t bpp;
uint32_t *data;
uint32_t size;
struct {