mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest
@ 2026-01-22 10:19 Philipp Zabel
  2026-02-06  8:56 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2026-01-22 10:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

The json manifest for the gfxstream driver is called
gfxstream_vk_icd.x86-64.json.
Use the correct name to make sure it is installed.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/mesalib.make | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/rules/mesalib.make b/rules/mesalib.make
index 22707ae36bac..a1ba85ad19fc 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -166,6 +166,10 @@ MESALIB_VULKAN_LIBS-y = $(subst amd,radeon \
 	,$(MESALIB_VULKAN_DRIVERS-y) \
 	)))
 
+MESALIB_VULKAN_ICDS-y = $(subst gfxstream,gfxstream_vk \
+	,$(MESALIB_VULKAN_LIBS-y) \
+	)
+
 MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_ANTI_LAG)	+= anti-lag
 MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_DEVICE_SELECT)	+= device-select
 ifdef PTXCONF_ARCH_X86
@@ -362,9 +366,10 @@ endif
 ifneq ($(strip $(MESALIB_VULKAN_LIBS-y)),)
 	@$(foreach lib, $(MESALIB_VULKAN_LIBS-y), \
 		$(call install_copy, mesalib, 0, 0, 0644, -, \
-		/usr/lib/libvulkan_$(lib).so)$(ptx/nl) \
+		/usr/lib/libvulkan_$(lib).so)$(ptx/nl))
+	@$(foreach icd, $(MESALIB_VULKAN_ICDS-y), \
 		$(call install_glob, mesalib, 0, 0, -, \
-		/etc/vulkan/icd.d, */$(lib)_icd.*.json)$(ptx/nl))
+		/etc/vulkan/icd.d, */$(icd)_icd.*.json)$(ptx/nl))
 endif
 ifneq ($(strip $(MESALIB_VULKAN_LAYERS-y)),)
 	@$(foreach lib, $(filter-out intel-nullhw,$(MESALIB_VULKAN_LAYERS-y)), \
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] mesalib: install gfxstream vulkan icd manifest
  2026-01-22 10:19 [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest Philipp Zabel
@ 2026-02-06  8:56 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-02-06  8:56 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as 4973109e5a71388e9e17b3a59ed7620a41043368.

Michael

[sent from post-receive hook]

On Fri, 06 Feb 2026 09:56:14 +0100, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> The json manifest for the gfxstream driver is called
> gfxstream_vk_icd.x86-64.json.
> Use the correct name to make sure it is installed.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20260122101952.1132479-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/mesalib.make b/rules/mesalib.make
> index 22707ae36bac..a1ba85ad19fc 100644
> --- a/rules/mesalib.make
> +++ b/rules/mesalib.make
> @@ -166,6 +166,10 @@ MESALIB_VULKAN_LIBS-y = $(subst amd,radeon \
>  	,$(MESALIB_VULKAN_DRIVERS-y) \
>  	)))
>  
> +MESALIB_VULKAN_ICDS-y = $(subst gfxstream,gfxstream_vk \
> +	,$(MESALIB_VULKAN_LIBS-y) \
> +	)
> +
>  MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_ANTI_LAG)	+= anti-lag
>  MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_DEVICE_SELECT)	+= device-select
>  ifdef PTXCONF_ARCH_X86
> @@ -362,9 +366,10 @@ endif
>  ifneq ($(strip $(MESALIB_VULKAN_LIBS-y)),)
>  	@$(foreach lib, $(MESALIB_VULKAN_LIBS-y), \
>  		$(call install_copy, mesalib, 0, 0, 0644, -, \
> -		/usr/lib/libvulkan_$(lib).so)$(ptx/nl) \
> +		/usr/lib/libvulkan_$(lib).so)$(ptx/nl))
> +	@$(foreach icd, $(MESALIB_VULKAN_ICDS-y), \
>  		$(call install_glob, mesalib, 0, 0, -, \
> -		/etc/vulkan/icd.d, */$(lib)_icd.*.json)$(ptx/nl))
> +		/etc/vulkan/icd.d, */$(icd)_icd.*.json)$(ptx/nl))
>  endif
>  ifneq ($(strip $(MESALIB_VULKAN_LAYERS-y)),)
>  	@$(foreach lib, $(filter-out intel-nullhw,$(MESALIB_VULKAN_LAYERS-y)), \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-06  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-22 10:19 [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest Philipp Zabel
2026-02-06  8:56 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox