Validation: the drm-shim recipe goes, with its image, its wrapper and its test
The runtime does not open the drm-shim devices as a guest's device (step 0's P2, ruled: the shim has no venue), so the corpus-pipeline kernel rows that now run through the runtime have no drm-shim sweep, and nothing else used the recipe. Gone: scripts/drm-shim.Dockerfile, scripts/drm-shim-exec, scripts/linux-gate's `--recipe drm-shim` with its `--driver` and `--chip` (and `--recipe` itself, which had only `gate` left), scripts/linux-gate-vulkan's shim ICD block, and the integration test tests/integration/drm_shim.rs. Driver acceptance on RADV, ANV and NVIDIA stays on the real cards. Search at this commit: `git grep -n -i -E 'drm.?shim|M2V_DRM_SHIM'` gives 0 lines; `git grep -n -e '--recipe'` gives 0. The consumer has no copy of these scripts (they are not part of a published crate). (cherry picked from commit 59693588b00825ed312beb67841fe5b8352a6508)
This commit is contained in:
1 parent
0bf0195cfa
commit
c1bcce40f5
8 files changed
+11
-597
No files matched your search
@@ -5,7 +5,7 @@
|
||||
# scripts/linux-gate-vulkan <command> [args...]
|
||||
#
|
||||
# Reads what scripts/linux-gate passes: M2V_GATE_ICD (lavapipe), M2V_GATE_PROFILE (a
|
||||
# crates/metal2vulkan-validation/profiles stem, or empty), and for the drm-shim recipe M2V_DRM_SHIM_ICD_GLOB.
|
||||
# crates/metal2vulkan-validation/profiles stem, or empty).
|
||||
#
|
||||
# - The selected ICD becomes the only one the loader sees (VK_DRIVER_FILES).
|
||||
# - With a profile P, VK_LAYER_KHRONOS_profiles is stacked between VK_LAYER_KHRONOS_validation and
|
||||
@@ -129,10 +129,4 @@ PY
|
||||
echo "linux-gate: VK_LAYER_KHRONOS_profiles with $name from $file" >&2
|
||||
fi
|
||||
|
||||
if [ -n "${M2V_DRM_SHIM_ICD_GLOB:-}" ]; then
|
||||
shims=($M2V_DRM_SHIM_ICD_GLOB)
|
||||
[ "${#shims[@]}" -eq 1 ] && [ -f "${shims[0]}" ] ||
|
||||
{ echo "linux-gate: expected one ICD at $M2V_DRM_SHIM_ICD_GLOB" >&2; exit 69; }
|
||||
export M2V_DRM_SHIM_ICD=${shims[0]}
|
||||
fi
|
||||
exec "$@"
|
||||
Reference in new issue
Block a user