mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
glamor: Set AMDGPU_CREATE_PIXMAP_DRI2 for DRI3 pixmaps
Not doing this resulted in falling back to software for DRI3 client presentation operations with ShadowPrimary. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
f3b2ed37d6
commit
2989d40ef7
@@ -168,6 +168,7 @@ static PixmapPtr amdgpu_dri3_pixmap_from_fd(ScreenPtr screen,
|
||||
|
||||
if (priv) {
|
||||
amdgpu_set_pixmap_private(pixmap, priv);
|
||||
pixmap->usage_hint |= AMDGPU_CREATE_PIXMAP_DRI2;
|
||||
return pixmap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user