Skip to contentSkip to conversation

mesa: build panfrost for RK3566 boards

PATCH Applied Marcin Bober 3 participants 4 messages Jun 17, 2024 – Jun 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa: build panfrost for RK3566 boards

The RK356x SoC family (of which we currently only support RK3568) has a Bifrost GPU that is supported by open-source Panfrost Linux kernel and Mesa drivers, therefore let's build mesa with Panfrost support for RK3566.

---
 recipes-graphics/mesa/mesa_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
recipes-graphics/mesa/mesa_%.bbappend +1 -0
index 2d9ec2e..ca1ad70 100644
@@ -2,4 +2,5 @@ PACKAGECONFIG:append:rk3288 = " kmsro panfrost"
 PACKAGECONFIG:append:rk3328 = " kmsro lima"
 PACKAGECONFIG:append:rk3399 = " kmsro panfrost"
 PACKAGECONFIG:append:rk3568 = " kmsro panfrost"
+PACKAGECONFIG:append:rk3566 = " kmsro panfrost"
 PACKAGECONFIG:append:px30 = " kmsro panfrost"
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Marcin,

Quoted 17 lines · Marcin Bober via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

The RK356x SoC family (of which we currently only support RK3568) has a Bifrost GPU that is supported by open-source Panfrost Linux kernel and Mesa drivers, therefore let's build mesa with Panfrost support for RK3566.

---
  recipes-graphics/mesa/mesa_%.bbappend | 1 +
  1 file changed, 1 insertion(+)
recipes-graphics/mesa/mesa_%.bbappend +0 -0
index 2d9ec2e..ca1ad70 100644

recipes-graphics/mesa/mesa_%.bbappend PACKAGECONFIG:append:rk3288 = " kmsro panfrost" · line 5

Quoted 4 lines
recipes-graphics/mesa/mesa_%.bbappend +1 -0
@@ -2,4 +2,5 @@ PACKAGECONFIG:append:rk3288 = " kmsro panfrost"
  PACKAGECONFIG:append:rk3328 = " kmsro lima"
  PACKAGECONFIG:append:rk3399 = " kmsro panfrost"
  PACKAGECONFIG:append:rk3568 = " kmsro panfrost"
+PACKAGECONFIG:append:rk3566 = " kmsro panfrost"

Maybe re-order alphabetically :) ?

Otherwise looking good to me,

Thanks!
Quentin

#2 lore raw
Quoted 15 lines · Quentin Schulz via lists.yoctoproject.org

Hi Marcin,

Quoted 12 lines · Marcin Bober via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

The RK356x SoC family (of which we currently only support RK3568) has a Bifrost GPU that is supported by open-source Panfrost Linux kernel and Mesa drivers, therefore let's build mesa with Panfrost support for RK3566.

---
  recipes-graphics/mesa/mesa_%.bbappend | 1 +
  1 file changed, 1 insertion(+)
Quoted 11 lines

recipes-graphics/mesa/mesa_%.bbappend PACKAGECONFIG:append:rk3288 = " kmsro panfrost" · line 5

Quoted 9 lines
recipes-graphics/mesa/mesa_%.bbappend +1 -0
index 2d9ec2e..ca1ad70 100644
@@ -2,4 +2,5 @@ PACKAGECONFIG:append:rk3288 = " kmsro panfrost"
  PACKAGECONFIG:append:rk3328 = " kmsro lima"
  PACKAGECONFIG:append:rk3399 = " kmsro panfrost"
  PACKAGECONFIG:append:rk3568 = " kmsro panfrost"
+PACKAGECONFIG:append:rk3566 = " kmsro panfrost"

Maybe re-order alphabetically :) ?

I can re-order when I apply.

Quoted 17 lines

Otherwise looking good to me,

Thanks!
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#336): https://lists.yoctoproject.org/g/yocto-patches/message/336
Mute This Topic: https://lists.yoctoproject.org/mt/106728240/900817
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13168745/900817/63955952/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
In reply to Marcin Bober
Quoted 9 lines · Marcin Bober via lists.yoctoproject.org

The RK356x SoC family (of which we currently only support RK3568) has a Bifrost GPU that is supported by open-source Panfrost Linux kernel and Mesa drivers, therefore let's build mesa with Panfrost support for RK3566.

---
 recipes-graphics/mesa/mesa_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

Applied to meta-rockchip, and sorted numerically, master branch. Thanks!

Thanks for the patch Marcin! The git repository originally rejected your patch because the Author email address was strange so I had to adjust that as well. In the patch it is:

Marcin Bober via lists.yoctoproject.org <[email protected]>

So I adjusted it to your actual email address. Perhaps you have a misconfiguration in the [user] section of your git configuration?