Disable tiling for PRIME shared pixmap

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Jammy Zhou
2015-05-12 05:34:49 +08:00
committed by Michel Dänzer
parent 4840f918ab
commit 7e3b27390a

View File

@@ -77,7 +77,7 @@ struct amdgpu_buffer *amdgpu_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width,
#ifdef CREATE_PIXMAP_USAGE_SHARED
if (usage_hint == CREATE_PIXMAP_USAGE_SHARED) {
/* XXX: Need to tell GBM to disable tiling in this case */
bo_use |= GBM_BO_USE_LINEAR;
}
#endif