AOSP: Add intel_hasvk vulkan library suffix
authorMauro Rossi <issor.oruam@gmail.com>
Mon, 28 Nov 2022 21:42:39 +0000 (22:42 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 29 Nov 2022 08:05:17 +0000 (09:05 +0100)
commitea10b0fc7add2ad9dd486e69b5b5e7aca3c422f7
tree3eaeefb2bbea9b36519894604d1f2bc0e53272fb
parent3507cdc59c951201ac9dafd97bc274b7a86cb397
AOSP: Add intel_hasvk vulkan library suffix

Required to correctly install vulkan.intel_hasvk.so module
after commit 50013ca9 ("intel: add a hasvk vulkan driver")

In order to set property ro.hardware.vulkan as 'intel_hasvk' for the correct iGPU parts at init stage,
i915 'graphics version' can only be detected by means of /sys/kernel/debug/dri/0/i915_capabilities
and debugfs needs to be mounted at early-init stage

https://review.lineageos.org/c/LineageOS/android_device_lge_g3-common/+/19875

Cc: "22.3" mesa-stable
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20048>
android/Android.mk