aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gbm/main/gbm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index ceeed5082e9..954b3c35b0d 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -534,6 +534,11 @@ gbm_bo_import(struct gbm_device *gbm,
* This function maps a region of a gbm bo for cpu read and/or write
* access.
*
+ * The mapping exposes a linear view of the buffer object even if the buffer
+ * has a non-linear modifier.
+ *
+ * This function may require intermediate buffer copies (ie. it may be slow).
+ *
* \param bo The buffer object
* \param x The X (top left origin) starting position of the mapped region for
* the buffer