7566503cc1
upgrade the mesa3d and mesa3d-headers to v22.1.3 and copy patch from IMG DDK 1.19 keep the 0002-Force-Mesa-to-use-the-PVR-driver-for-platform-device.patch to force the pvr driver Note that the new version mesa3d support gallium driver and no longer support dri driver Signed-off-by: Andy Hu <andy.hu@starfivetech.com> Signed-off-by: Windsome Zeng <Windsome.Zeng@starfivetech.com>
28 lines
1008 B
Diff
28 lines
1008 B
Diff
From 7c77b96ecd34995fb84d009bad0ecb0b144605d4 Mon Sep 17 00:00:00 2001
|
|
From: Brendan King <Brendan.King@imgtec.com>
|
|
Date: Wed, 26 Oct 2016 16:24:28 +0100
|
|
Subject: [PATCH 12/58] Enable buffer sharing in the kms_swrast driver
|
|
|
|
Enable buffer sharing, so that a DRI driver can be loaded by a
|
|
Wayland client when kms_swrast is being used by the compositor.
|
|
---
|
|
src/gallium/frontends/dri/dri2.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c
|
|
index cfc14dabf28..58f25eadbcc 100644
|
|
--- a/src/gallium/frontends/dri/dri2.c
|
|
+++ b/src/gallium/frontends/dri/dri2.c
|
|
@@ -2538,7 +2538,7 @@ dri_kms_init_screen(__DRIscreen * sPriv)
|
|
if (!configs)
|
|
goto destroy_screen;
|
|
|
|
- screen->can_share_buffer = false;
|
|
+ screen->can_share_buffer = true;
|
|
screen->auto_fake_front = dri_with_format(sPriv);
|
|
screen->broken_invalidate = !sPriv->dri2.useInvalidate;
|
|
screen->lookup_egl_image = dri2_lookup_egl_image;
|
|
--
|
|
2.25.1
|
|
|