diff mbox series

[meta-ti] mesa-pvr: set pv explicitely

Message ID 20240827065723.1108167-1-max.oss.09@gmail.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti] mesa-pvr: set pv explicitely | expand

Commit Message

Max Krummenacher Aug. 27, 2024, 6:57 a.m. UTC
From: Max Krummenacher <max.krummenacher@toradex.com>

openembedded-core commit f5cfb3e23603 ("mesa: set PV from the .inc
file and not via filenames") now sets PV in the mesa.inc file
explicitely to whatever version oe-core is using.
Override that setting to the actual version here to prevent the
following parse error and whatever else would go wrong afterwards.

| ERROR: .../mesa-pvr_23.2.1.bb: Unable to get checksum for mesa-pvr SRC_URI entry 0001-meson-Disable-cmake-dependency-detector-for-llvm.patch: file could not be found
| The following paths were searched:
| .../meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.7/bsp-ti-6_1/0001-meson-Disable-cmake-dependency-detector-for-llvm.patch
| ...

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
CC: Randolph Sapp <rs@ti.com>
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | 1 +
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb | 1 +
 2 files changed, 2 insertions(+)

Comments

Denys Dmytriyenko Aug. 27, 2024, 5:30 p.m. UTC | #1
On Tue, Aug 27, 2024 at 08:57:23AM +0200, Max Krummenacher wrote:
> From: Max Krummenacher <max.krummenacher@toradex.com>
> 
> openembedded-core commit f5cfb3e23603 ("mesa: set PV from the .inc
> file and not via filenames") now sets PV in the mesa.inc file
> explicitely to whatever version oe-core is using.
> Override that setting to the actual version here to prevent the
> following parse error and whatever else would go wrong afterwards.

I had the same fix I was testing last night, but you beat me to it
submitting it this morning.


> | ERROR: .../mesa-pvr_23.2.1.bb: Unable to get checksum for mesa-pvr SRC_URI entry 0001-meson-Disable-cmake-dependency-detector-for-llvm.patch: file could not be found
> | The following paths were searched:
> | .../meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.0.7/bsp-ti-6_1/0001-meson-Disable-cmake-dependency-detector-for-llvm.patch
> | ...
> 
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

Tested-by: Denys Dmytriyenko <denys@konsulko.com>


> ---
> CC: Randolph Sapp <rs@ti.com>
>  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | 1 +
>  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
> index 5abd07934d94..09ae0510ce53 100644
> --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
> +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
> @@ -29,6 +29,7 @@ PACKAGECONFIG:append = " \
>  "
>  
>  SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
> +PV = "22.3.5"
>  
>  PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
>  PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> index a137f4521e08..21134bc774cf 100644
> --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
> @@ -26,6 +26,7 @@ PACKAGECONFIG:append = " \
>  "
>  
>  SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
> +PV = "23.2.1"
>  
>  PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
>  PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
> -- 
> 2.42.0
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
index 5abd07934d94..09ae0510ce53 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb
@@ -29,6 +29,7 @@  PACKAGECONFIG:append = " \
 "
 
 SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
+PV = "22.3.5"
 
 PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
 PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
index a137f4521e08..21134bc774cf 100644
--- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
+++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb
@@ -26,6 +26,7 @@  PACKAGECONFIG:append = " \
 "
 
 SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
+PV = "23.2.1"
 
 PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
 PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"