Skip to contentSkip to conversation

mesa/mesa-gl: remove version from bbappend file name

PATCH NAK [email protected] 3 participants 4 messages Mar 28, 2023 – Mar 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa/mesa-gl: remove version from bbappend file name

From: Kai Kang <[email protected]>

Remove version from mesa/mesa-gl bbappend file names that no need to rename them when mesa update.

Issue: LINUXEXEC-26101

(LOCAL REV: NOT UPSTREAM) - Send to meta-ti on 20230328

---
 .../mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend}            | 0
 .../recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-ti-bsp/recipes-graphics/mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend} (100%)
 rename meta-ti-bsp/recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} (100%)
meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend
meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
Signature · 1 line
2.17.1
#1 lore raw

NAK

1. https://patchwork.yoctoproject.org/project/ti/patch/[email protected]/

Quoted 6 lines · Kai Kang

From: Kai Kang <[email protected]>

Remove version from mesa/mesa-gl bbappend file names that no need to rename them when mesa update.

Issue: LINUXEXEC-26101

2. Unknown tag

Quoted 1 line

(LOCAL REV: NOT UPSTREAM) - Send to meta-ti on 20230328

3. Seems inappropriate here

Quoted 7 lines
---
 .../mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend}            | 0
 .../recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-ti-bsp/recipes-graphics/mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend} (100%)
 rename meta-ti-bsp/recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} (100%)

4. PowerVR changes are definitely not version agnostic!

Quoted 10 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend
meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
Signature · 1 line
2.17.1
author
#2 lore raw
Quoted 11 lines · Denys Dmytriyenko

NAK

1. https://patchwork.yoctoproject.org/project/ti/patch/[email protected]/

Quoted 5 lines · Kai Kang

From: Kai Kang <[email protected]>

Remove version from mesa/mesa-gl bbappend file names that no need to rename them when mesa update.

Quoted 6 lines
Quoted 1 line

Issue: LINUXEXEC-26101

2. Unknown tag

Quoted 1 line

(LOCAL REV: NOT UPSTREAM) - Send to meta-ti on 20230328

3. Seems inappropriate here

Sorry for the noise that I forgot to clean 2 & 3.

Quoted 10 lines
Quoted 9 lines
---
  .../mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend}            | 0
  .../recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} | 0
  2 files changed, 0 insertions(+), 0 deletions(-)

rename meta-ti-bsp/recipes-graphics/mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend} (100%) rename meta-ti-bsp/recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} (100%)

4. PowerVR changes are definitely not version agnostic!

OK.

Regards,
Kai

Quoted 21 lines
Quoted 21 lines
meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend
meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
Signature · 9 lines
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16249): https://lists.yoctoproject.org/g/meta-ti/message/16249
Mute This Topic: https://lists.yoctoproject.org/mt/97898091/3616933
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/12166737/3616933/1349768870/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Kai Kang
Wind River Linux
#3 lore raw
In reply to [email protected]
Quoted 29 lines · Kai Kang

From: Kai Kang <[email protected]>

Remove version from mesa/mesa-gl bbappend file names that no need to rename them when mesa update.

Issue: LINUXEXEC-26101

(LOCAL REV: NOT UPSTREAM) - Send to meta-ti on 20230328

---
  .../mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend}            | 0
  .../recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} | 0
  2 files changed, 0 insertions(+), 0 deletions(-)

rename meta-ti-bsp/recipes-graphics/mesa/{mesa-gl_22.%.bbappend => mesa-gl_%.bbappend} (100%) rename meta-ti-bsp/recipes-graphics/mesa/{mesa_22.%.bbappend => mesa_%.bbappend} (100%)

meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend +0 -0
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa-gl_%.bbappend
meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend renamed from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend +0 -1
similarity index 100%
rename from meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend
rename to meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 7 lines

Links: You receive all messages sent to this group.
View/Reply Online (#16247): https://lists.yoctoproject.org/g/meta-ti/message/16247
Mute This Topic: https://lists.yoctoproject.org/mt/97898091/7094281
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Yeah, alright. Here's why we didn't do that *yet*:

There's currently a handful of patches sitting outside of mesa for rogue devices. Some of them are fundamental (introducing the gallium-frontend shim), others are less important but are still relevant to features we are requested to have for the rogue devices.

The upstream-ability of these patches was only recently called into question so I'm trying my best to sort them out and get them upstream as soon as possible, if possible, but considering some of their *unique* approaches to improving performance that will take a little time to get it sorted out.

In the meantime we want to use those patches in yocto, and considering the way we receive them (tagged to a particular release), we need to update them and keep them clean rolling forward while we close the gap.

If you look at the source line in the include file you'll see our solution to this was to basically glob all 22.% releases and point them all at a branch in a public tree I want to use as an intermediary.

This was done to prevent other build issues with tools expecting particular features (like a specific extension of dma buffer feedback). Using this scheme, in the event of a major version drift it should default to software rendering.

It's a little scuffed, but this was the safest way I could think to add out of tree graphics without introducing stalls for any other component development. Moving forward I will attempt to track and update this recipe faster.

The only reason I wrote up this response instead of just forward porting the mesa patches and posting my own version of this patch changing the glob to 23.% is that moving forward I want to keep the graphics bbappends only applicable to major versions (while they exist). These will help keep backwards compatibility open for community multi-distro efforts (and better compatibility with tagged yocto releases, as they tend to park mesa after a little while).

Hopefully this is a little clearer now. Thanks for your interest!

Regards,
Randolph Sapp