From f78b2c432f31a18794b9f62f0a0cfb8eca256151 Mon Sep 17 00:00:00 2001 From: Flora Cui Date: Tue, 24 Mar 2015 18:34:29 +0800 Subject: gbm: Add GBM_BO_USE_LINEAR flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Flora Cui Reviewed-by: Jammy Zhou Reviewed-by: Michel Dänzer Reviewed-by: Alex Deucher --- src/gbm/main/gbm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gbm/main/gbm.h') diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 7b23c2609f9..2708e50a45c 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -209,6 +209,10 @@ enum gbm_bo_flags { * with GBM_BO_USE_CURSOR. but may not work for other combinations. */ GBM_BO_USE_WRITE = (1 << 3), + /** + * Buffer is linear, i.e. not tiled. + */ + GBM_BO_USE_LINEAR = (1 << 4), }; int -- cgit v1.2.3