mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
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:
committed by
Michel Dänzer
parent
4840f918ab
commit
7e3b27390a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user