diff mbox series

[7/7] package/qt5: allows using rockchip-mali-bifrost as OpenGL/KMS provider

Message ID 20200306071440.30433-8-miquel.raynal@bootlin.com
State Accepted
Headers show
Series [1/7] package/sunxi-mali-utgard: rename from sunxi-mali-mainline | expand

Commit Message

Miquel Raynal March 6, 2020, 7:14 a.m. UTC
From: Maxime Chevallier <maxime.chevallier@bootlin.com>

In order to be able to use OpenGL with QT5 with a Rockchip Mali
Bifrost GPU, a device integration provider has to be selected. We are
interested in the KMS integration that works well with Mali Bifrost,
make sure it gets build when using rockchip-mali-bifrost as OpenGL
provider.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 package/qt5/qt5base/qt5base.mk | 3 +++
 1 file changed, 3 insertions(+)

Comments

Thomas Petazzoni Jan. 8, 2022, 6:28 p.m. UTC | #1
On Fri,  6 Mar 2020 08:14:40 +0100
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> From: Maxime Chevallier <maxime.chevallier@bootlin.com>
> 
> In order to be able to use OpenGL with QT5 with a Rockchip Mali
> Bifrost GPU, a device integration provider has to be selected. We are
> interested in the KMS integration that works well with Mali Bifrost,
> make sure it gets build when using rockchip-mali-bifrost as OpenGL
> provider.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
>  package/qt5/qt5base/qt5base.mk | 3 +++
>  1 file changed, 3 insertions(+)

Applied to master, thanks. Ideally, I would like to understand better
when this eglfs_kms device integration plugin can be used. If you (or
Paul) have more insights about this, it would be very useful.

Thomas
diff mbox series

Patch

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index ad01c7c843..2053988778 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -318,6 +318,9 @@  QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv
 else ifeq ($(BR2_PACKAGE_SUNXI_MALI_UTGARD),y)
 # use mali backend
 QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_mali
+else ifeq ($(BR2_PACKAGE_ROCKCHIP_MALI_BIFROST),y)
+# use kms backend
+QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_kms
 endif
 endif