summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amdgpu_dri3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amdgpu_dri3.c b/src/amdgpu_dri3.c
index 87e3d85..84a03dc 100644
--- a/src/amdgpu_dri3.c
+++ b/src/amdgpu_dri3.c
@@ -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;
}