Tags: Xilinx/XRT
Tags
zocl: probe CU IRQs from fpga_accelerator DT overlay (#9993) Read interrupts-extended from the fpga_accelerator overlay node when present, with legacy platform_get_irq fallback, and refresh CU INTC after PARTITION_METADATA overlay apply so DFX xclbin loads pick up updated interrupt routing.
Fix xilinx_xrt() root discovery on Debian multiarch installs (#9955) (#… …9958) xilinx_xrt() derived the XRT root by taking two parent_path() levels up from the libxrt_coreutil.so path reported by dladdr(). This assumes coreutil lives directly in <root>/lib, which only holds when CMAKE_INSTALL_LIBDIR is a single path component (lib, lib64). On a Debian multiarch install CMAKE_INSTALL_LIBDIR is lib/x86_64-linux-gnu, so coreutil is one level deeper and the two-level strip returns <root>/lib instead of <root>. shim_path() then re-appends XRT_LIB_DIR, producing a doubled path such as '/opt/amdgpu/lib/lib/x86_64-linux-gnu/libxrt_core.so.2' and the load fails with "No such library". Strip exactly as many trailing components as XRT_LIB_DIR contains instead of a hardcoded two levels, so the root is recovered correctly for lib, lib64, and lib/x86_64-linux-gnu layouts alike. Single-component layouts (standard, lib64, single-arch Yocto) are unaffected. Also default XRT_LIB_DIR to "lib" so the header stays self-contained; the loop additionally tolerates an empty value. Regression from 11169ba (SWSPLAT-24084) which switched XRT root discovery from XILINX_XRT to dladdr(). (cherry picked from commit 5403f66) Signed-off-by: Wendy Liang <wendy.liang@amd.com> Co-authored-by: Wendy Liang <wendy.liang@amd.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Updating the XDP submodule to include the fix for CR-1254161 and CR-1… …270630 (#9827)
Updating the XDP submodule to include the fix for CR-1254161 and CR-1… …270630 (#9827)
Simplify detail::xilinx_xrt() to always return compiled prefix (#9511) When XILINX_XRT is not set, use compile time constant XRT_INSTALL_PREFIX. There was a bug in the upstream binaries that used parent_path()*2 relative to sopath, but upstream lib path can contain any number of components, e.g. lib/x86_64-linux-gnu/libfoo.so so hardwiring parent_path() * n is not right. Always used compile time CMAKE_INSTALL_PREFIX for detail::xilinx_xrt(), for relocatable builds XILINX_XRT should be set, e.g. do not ever rely on sopath. Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
Add XRT_BUILD_NUMBER CMake variable for use by upstream builds (#9507) Upstream projects cannot set XRT_VERSION_PATCH directory as it is reset by project(xrt). Instead upstream builds sets XRT_BUILD_NUMBER which is then used here to explicitly set XRT_VERSION_PATCH. Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
PreviousNext