/accelerators/intel/compute/piglit: added opencl piglit testsuite for Intel Xe (drm/xe)

This MR adds the Piglit OpenCL testsuite for Intel Xe (drm/xe) GPUs. It introduces a new beakerlib test case under accelerators/intel/compute/piglit/ that install piglit from ovanka/mesa-piglit COPR repository, installs intel-compute-runtime for the OpenCL ICD, and runs the OpenCL (cl) test profile against Intel Xe hardware.

Resolves

Test Coverage

accelerators/intel/compute/piglit (Piglit OpenCL, 3 hours)

  • Requirements Check: Validates x86_64 architecture, xe kernel module presence, and PCI device binding to xe driver
  • Intel Compute Runtime: Installs intel-compute-runtime from RHEL Extensions (with EPEL exclusion) or Fedora repos depending on distro
  • Piglit Build: Installs piglit from ovanka/mesa-piglit COPR repository,/GLES/VK/EGL disabled)
  • OpenCL Test Profile: Runs the full piglit cl profwith a 300s per-test timeout
  • Results Parsing: Parses piglit results.json, reports PASS/FAIL/SKIP/CRASH/WARN counts
  • Summary & Reporting: Reports FAIL if any tests fail
  • Artifact Collection: Submits piglit run log, summar JSON as BeakerLib artifacts

Requirements

  • Intel Xe GPU (Battlemage / discrete Xe2 / integrated Xepresent
  • Root privileges required
  • RHEL 9.8+ or Fedora
  • Network access for ovanka/mesa-piglit COPR package install

Run

# Piglit OpenCL testsuite
bash accelerators/intel/compute/piglit/runtest.sh

Environment variables

Variable Default Description
PIGLIT_COPR ovanka/mesa-piglit Override piglit COPR repository
PIGLIT_PROFILE cl Piglit test profile to run
PIGLIT_EXTRA_ARGS (none) Additional arguments passed to piglit run

Reference

Signed-off-by: Ondrej Vanka ovanka@redhat.com

Edited by Ondrej Vanka

Merge request reports

Loading
Loading