summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/igt-gpu-tools
Commit message (Collapse)AuthorAgeFilesLines
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: update 4.0.4 -> 4.0.5Alexander Kanavin2025-01-142-1/+33
| | | | | | | | | | | | | Drop pidfd.patch (upstream significantly refactored the code; the patch can be tested only with very old kernels; upstream submission has not been followed up since initial MR creation). Add a patch to igt-gpu-tools to address a build failure with the new procps. (From OE-Core rev: ba492417cf8712ca8009154cfadeb494c1a6064f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: upgrade 1.29 -> 1.30Wang Mingyu2024-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== General changes: - New meson options xe_eudebug and vmtb. Library changes: - Added PantherLake (PTL) support, unified PCI IDs into one common header pciids.h - Added BMG support for OA (Observability Architecture) for Xe driver. - Added support for Xe3 platforms in GPGPU shader. - Added 6k resolution support for a single CRTC. - Added support for MTL platform in GPGPU compute. Runner changes: - Set option PRUNE_KEEP_ALL as default. - Allow to dynamically ignore dmesg warn messages when generating results, usefull when driver is using kernel fault injection. Test changes: - Added sanity checks for KMS properties. - Improved GPGPU tests for i915 and Xe. - New SRIOV test for Functional Level Reset (FLR) for Xe. - Added test that draws triangle without using 3d commands for vmwgfx. - Added subtest for fallback for DP connector. - Added async flips suspend resume subtest. - New test for error handling of Xe at probe time. - Added testing SIZE_HINTS property in KMS cursor test. - Added KMS testing for ultrajoiner. - New test for TLB invalidation in Xe. - New test for timeslice duration in Xe. - Display brightness test during DPMS on and off. - New tests for EU debugging for Xe. Tools changes: - New power tool for power/energy measurement. - New VM Testbench (VMTB) - SR-IOV Virtual Machine testing tool. - Fixes in amd_hdmi_compliance. - Fixes in intel_reg. (From OE-Core rev: dbec508d17f7ab18efe757cbfc30b81ad5bca7b0) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: upgrade 1.28 -> 1.29Wang Mingyu2024-09-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Added gcc warns: dangling-pointer, int-conversion - More guidelines in CONTRIBUTING. - Reorganized Tests: Moved all vendor specific tests to their own dir - Fix musl/uclibc build - New KMS framebuffer stress benchmark. - Added basic Xe support in gem_wsim. - Add documentation about cross-builds. - Improve tests documentation. - Add Battlemage (BMG) support in xe_pciids.h - Add amdgpu GFX1152, GFX1150 and gfx12. - Added inline support for iga64 assembly in GPGPU shader. - Improved KUnit support. - Enable igt run on security enhanced distros - Use blitter as a default for all KMS tests. - Increased MAX supported pipes to 16 (Pipe-A to Pipe-P) - Added generic way to reset sysfs/debugfs attrs to default values upon exit. - Added hook scripts to igt_runner. - Added support for Xe in KMS tests. - Added new subtests and improvements to VRR. - Added new subtests to force joiner. - Added fbdev tests to Xe. - Added amdgpu fuzzing tests. - Added syncobj_eventfd test. - Added basic Single-Root IO Virtualization (SRIOV) test. - Added prime test for vmwgfx. - Improved core_getversion. - Improved kms_atomic on non-mutable planes. - Added and improved Xe tests. - New Xe perf/OA tools. - New intel_tiling_detect tool. - New option in lsgpu for printing GPU on PCI bus, working also in case when no gpu driver is loaded. - Added sysfs profiling knob to gputop. - Support for Xe in gputop. - Improved generating test lists at compilation time. - Improved code coverage. - Improved intel_vbt_decode and other intel tools. (From OE-Core rev: 2c369fcbe7ee3353cf5c2bcbe06fe0767a85074e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: drop PR from /usr/src/debug pathsMartin Jansa2023-11-201-1/+1
| | | | | | | | (From OE-Core rev: 5b13119b371090acee168b14fa651026ec71bb61) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: update 1.27.1 -> 1.28Alexander Kanavin2023-09-182-507/+3
| | | | | | | | | Drop procps 4 patch as upstream fixed the issue. (From OE-Core rev: 22eccdd1a1e26b67d1ce3ba03a43b44f14dd00c1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: do not write shortened git commit hash into binariesAlexander Kanavin2023-09-171-1/+1
| | | | | | | | | | | | | Shortened hashes are prone to collisions, and in this case git lengthens the hash to resolve the collision. This in turn breaks reproducibility, depending on whether the colliding hash is present in the history or not. This has been observed here: http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230917-br60if6q/packages/diff-html/ (From OE-Core rev: a74e1eff93d4de5724481e3298308a6d925a4512) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: update 3.3.17 -> 4.0.3Alexander Kanavin2023-03-112-1/+505
| | | | | | | | | | | | | | Drop patches as upstream refactored the code. Add a compatibility patch to igt-gpu-tools. Add a musl compatibility patch. (From OE-Core rev: 631eba02d64f1a42514e0ae4361bbecc5cce5fa7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: upgrade 1.26 -> 1.27.1Alexander Kanavin2023-02-092-30/+4
| | | | | | | | | | /usr/bin/code_cov_parse_info is written in perl, so that's a new RDEPENDS. (From OE-Core rev: 31e5e37987e43ce2691a00763538d6061ceadf28) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: correct patch statusAlexander Kanavin2021-12-061-1/+1
| | | | | | | (From OE-Core rev: 89bb72e0721be7d6afb2fbc35322c26182d59116) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: address meson 0.60 compatibilityAlexander Kanavin2021-10-282-1/+27
| | | | | | | | (From OE-Core rev: 33cd0f7e23d714869eda249ae6c3f9761caa4c96) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig inheritRichard Purdie2021-09-211-1/+1
| | | | | | | | | | | | Various recipes were missing a pkgconfig inherit or pkgconfig-native dependency despite using pkgconfig. Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle shaderc/iputils/wpebackend-fdo/lttng-ust/cargo. (From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: upgrade 1.25 -> 1.26Alexander Kanavin2021-05-253-85/+3
| | | | | | | | | Drop patches merged upstream. (From OE-Core rev: 8f97315e2fbec7308b77d5b53077014bbd973c53) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine2021-03-021-0/+2
| | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 24eac1fef8892484cc3dede1853d180e0c235120) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: Fix warnings with gcc 11Khem Raj2021-03-012-0/+43
| | | | | | | (From OE-Core rev: 5537ad961e5d0663c2d293abe8312bd2b614d9ff) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: Fix reproducibility issueRichard Purdie2021-02-272-2/+41
| | | | | | | | | Add a configuration option to pass in srcdir, removing hard coded build paths from the binaries. (From OE-Core rev: d7e92e3a22f0c87aff4f452b51f50ec417d2949b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: Add PACKAGECONFIG for Chamelium supportArthur She2020-07-121-0/+2
| | | | | | | | | | | | | Chamelium is a hardware device that can be used for external display test automation [1]. It is disabled by default and can be turned on through PACKAGECONFIG. [1] https://www.chromium.org/chromium-os/testing/chamelium (From OE-Core rev: 35daa5c7c7ff317b625c463dd666f46e1dbb81a2) Signed-off-by: Arthur She <arthur.she@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: add new packageArthur She2020-06-231-0/+47
igt-gpu-tools is a collection of tools for development and testing of the DRM drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools) This recipe is originally copied from meta-intel and added the following modifications 1. Enable ARM architecture 2. Enable igt-runner 3. Build git HEAD code instead of a specific version The original recipe in the meta-intel will be removed and replaced by this one to avoid having a duplicate recipe. It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch. (From OE-Core rev: d98e9b3612ab2c03503843cb3ea77bec7811a1d4) Signed-off-by: Arthur She <arthur.she@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>