summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
45 hourstests/intel/xe_fault_injection: Use separate functionsHEADmasterLucas De Marchi1-28/+31
Do not mux everything in a _do() function, but rather use _add()/_remove()/_clear() functions for clarity and brevity. The add()/remove() boilerplate is small enough to just be repeated. For clear(), just implement it using add(). Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
47 hourstests/intel/xe_vm: Fix typos and clarify ENOBUFS errorRandhawa, Jagmeet1-1/+1
Correct typos and enhance clarity by specifying that the test uses oversized bind arrays to intentionally trigger the -ENOBUFs error Signed-off-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
2 daystests/intel/kms_dirtyfb: Fix misplaced parenthesis in display version checkJeevan B1-1/+1
Fixed a misplaced parenthesis in the FBC display version check to ensure correct tiling format selection. Fixes: f0b66883398b4a07bb8fcaa3663a2140129d9a58 Signed-off-by: Jeevan B <jeevan.b@intel.com> Reviewed-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com> Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
2 daystests/intel/xe_fault_injection: Add test for xe_hw_engine_class_sysfsFrancois Dugast1-16/+18
Test-with: https://lore.kernel.org/intel-xe/20250314105050.636983-1-francois.dugast@intel.com/ Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
3 daysintel-ci/xe: Block more i915 tests in Xe runsKamil Konieczny1-0/+1
There was added new generic Intel test intel_sysfs_debugfs which checks sysfs and debugfs for both i915 and Xe. Lets block i915 ones for Xe runs. Cc: Katarzyna Piecielska <katarzyna.piecielska@intel.com> Cc: Peter Senna Tschudin <peter.senna@linux.intel.com> Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Pallavi Mishra <pallavi.mishra@intel.com> Reviewed-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
3 daysintel-ci/i915: Block more Xe tests in i915 runsKamil Konieczny1-0/+1
There was recently added new generic Intel test intel_sysfs_debugfs@xe-debugfs-read-all-entries which is causing a valid skip on DG2. Lets block all similar Xe tests from i915 runs. Cc: Peter Senna Tschudin <peter.senna@linux.intel.com> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13983 Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Pallavi Mishra <pallavi.mishra@intel.com> Reviewed-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
4 daystests/amdgpu: Disable the UMQ tests under a macroSunil Khatri2-1/+11
Disable the umq tests under a macro till we have all dependencies resolved. v2: Partial revert of commit 7b68bf5fe9c91e3636b359893f0106dfa34ee800 to maintain the same condition for executing cs_nop tests on kernel queues. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: disable check for IP presense with no kernel queueSunil Khatri2-1/+5
With kernel queues disabled num_rings will be reported zero. Enforce the condition to be always true till the time we have IOCTL to read this information from kernel. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: Add amdgpu_cp_nops tests for UMQSunil Khatri1-16/+61
Add new tests to support amdgpu_cs_nops tests for UMQ submission by modifying the existing cs_nops tests to support UMQ. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: use memory API's from amd_memory.hSunil Khatri1-64/+1
Use memory allocation API's from memory.h library header instead of using a local definition. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: Add amdgpu_sync_dependency_test with UMQSunil Khatri1-23/+72
Add UMQ support in amdgpu_sync_dependency_test and also add a new test case which will run this test for UMQ submission. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: Add UMQ submission tests for gfx and computeSunil Khatri1-0/+16
We already have the gfx and compute ip user mode submission support added in the IGT and hence with this patch we are adding a new test case for gfx and compute using UMQ submission. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/amdgpu: Add user queue support for gfx and computeSunil Khatri2-18/+44
Add support of user queue command submission for a. amdgpu_command_submission_gfx b. amdgpu_command_submission_compute Also add support of user queues in all the helper functions used by the above functions. Also since helper functions are same for sdma too so update the function call to accommodate the changes. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
4 daystests/intel/xe_pmu: Add a test to validate engine activity on a functionRiana Tauro1-0/+85
Add two tests to run workload on one function at a time with different scheduling policies. If sched-if-idle is set to true, then the functions use the execution quantum even if idle v2: add additional test for sched if idle (Umesh) Signed-off-by: Riana Tauro <riana.tauro@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
4 daystests/intel/xe_pmu: Add engine activity test for all functionsRiana Tauro1-0/+143
Provision and enable 2 VFs with execution quantum and scheduling policy set. Add a test that runs workload on all functions simultaneously and validates that all engines are equally and fully loaded for the entire execution quantum of the function v2: add a different function for function config add function details to log move pmu_fd to struct enable and provision VF's (Umesh) v3: split patches move exec_quantum to variables skip test if vfs are already provisioned fix assert (Umesh) v4: move provisioning to single function (Umesh) Signed-off-by: Riana Tauro <riana.tauro@intel.com> Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
4 daystests/intel/xe_pmu: move xe perf device to fixtureRiana Tauro1-10/+10
move xe perf device to fixture and re-use instead of initializing multiple times Signed-off-by: Riana Tauro <riana.tauro@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
6 daystests/intel/intel_sysfs_debugfs Unify sysfs and debugfs testingPeter Senna Tschudin2-0/+499
Introduces intel_sysfs_debugfs, replacing debugfs_test and xe_debugfs. It organizes tests into separate subgroups for i915 and xe, ensuring only the relevant tests run for each driver. i915 test list: - i915-sysfs-read-all-entries - i915-debugfs-read-all-entries - i915-debugfs-read-all-entries-display-on - i915-debugfs-read-all-entries-display-off Xe test list: - xe-sysfs-read-all-entries - xe-debugfs-read-all-entries - xe-debugfs-read-all-entries-display-on - xe-debugfs-read-all-entries-display-off - xe-base - xe-gt - xe-forcewake This unification closes testing gaps between i915 and Xe while simplifying code maintenance. Cc: himanshu.girotra@intel.com Cc: aditya.chauhan@intel.com Cc: pravalika.gurram@intel.com Cc: sai.gowtham.ch@intel.com Cc: ramadevi.gandi@intel.com Cc: lucas.demarchi@intel.com Cc: rodrigo.vivi@intel.com Cc: kamil.konieczny@linux.intel.com Cc: katarzyna.piecielska@intel.com Signed-off-by: Peter Senna Tschudin <peter.senna@linux.intel.com> Link: https://lore.kernel.org/r/20250331180538.57393-2-peter.senna@linux.intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
6 dayslib/i915/fbc: update fbc support based on psr modeVinod Govindapillai2-6/+13
Combination of fbc and psr modes (psr1, psr2 and pr) depends on display version. Consolidate this fbc combination check into one place and update the relevent tests to use this consolidated function Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
6 daysRevert "tests/intel/kms_frontbuffer_tracking: update to FBC support check"Vinod Govindapillai1-1/+1
The fbc plane test do not depend on the fbc psr combination check. This reverts commit a97469db452d7f25f6c39aeb1f601d0fff4d8d43. Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
8 daystests/intel/xe_eu_stall: Add invalid input tests for EU stall samplingHarish Chegondi1-0/+59
Add tests to verify that invalid inputs fail the tests v2: Fix alignment, change SUBSLICES to XECORES, remove unnecessary brackets Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
9 daysintel-ci/meson.build: Add missing xe-sriov-vm.blocklist.txtMarcin Bernatowicz1-0/+1
Add the missing blocklist file so it can be used in CI. Cc: Adam Miszczak <adam.miszczak@linux.intel.com> Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Lukasz Laguna <lukasz.laguna@intel.com> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Jakub Kolakowski <jakub1.kolakowski@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Lukasz Laguna <lukasz.laguna@intel.com>
10 daystests/intel/xe_oa: Print oa_status value in the helperUmesh Nerlige Ramappa1-3/+1
OA status value is useful when any bits are set. Print the value in the helper, so that each call to fetch the oa_status does not need to print the debug message explicitly. v2: Drop the condition for the debug print (Ashutosh) Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
10 daystests/intel-ci/xe-sriov-vm.blocklist.txt: Blocklist for SR-IOV VM runsMarcin Bernatowicz1-0/+8
This file contains tests that are not applicable for QEMU Virtual Machine (VM) runs. It extends xe.blocklist.txt and should be kept as minimal as possible. v2: Added igt@xe_css@suspend-resume. Removed inaccessible reference. (Lukasz) Cc: Adam Miszczak <adam.miszczak@linux.intel.com> Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Lukasz Laguna <lukasz.laguna@intel.com> Cc: Michal Wajdeczko <Michal.Wajdeczko@intel.com> Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Jakub Kolakowski <jakub1.kolakowski@intel.com>
11 dayslib/igt_sysfs: Remove XE_SYSFS_DRIVER_UNBINDFrancois Dugast1-1/+1
xe_sysfs_driver_do() will be removed. The XE_SYSFS_DRIVER_UNBIND can already be removed because a proper alternative is already in place, so use it. Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
11 daystests/intel/xe_fault_injection: Inject errors during observation IOCTLNakshtra Goyal2-1/+62
Use the fault injection infrastructure to make targeted internal KMD functions fail when executing xe_observation_ioctl() so that more code paths are tested, such as error handling and unwinding. v1: Adding remove config at end of test , Adding igt_sysfs into igt_assert so test fails if sysfs read fails (Sai Teja) v2: Run sysfs check before creating config to destroy prev. config if present, add one check before creating new config after destroying old one (Sai Teja) [corrected order in meson.build and added space before PRIu64 (Kamil)] Signed-off-by: Nakshtra Goyal <nakshtra.goyal@intel.com> Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Acked-by: Francois Dugast <francois.dugast@intel.com>
11 daystests/intel/kms_pm_dc: Add skip logic and logging for DC5 psr testMohammed Thasleem1-0/+13
Prior to Gen12, Pipe A is required to run the DC5 transaction, ensuring low power operation. In display versions greater than 12, either Pipe A or Pipe B can be used for the DC5 transaction, providing flexibility in pipe selection However, display version 20 specifically requires Pipe A. Additionally, for Battlemage and DG2 devices, only Pipe A is required due to specific hardware constraints. To enforce these conditions, skip logic and logging have been added, ensuring that tests are only executed when the appropriate pipes are selected. v2: Updated subject title and discription. Add Gen checks for low power pipe selection. (Santosh) v3: Add check for bmg and dg2 for Pipe A also other checks for Pipe A and B. (Gustavo) v4: Update logic style. (Gustavo) Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com> Reviewed-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
11 daystests/kms_plane_multiple: Add dual display subtestKarthik B S1-49/+210
Add 2x subtest to verify MPO use case simulataneously on two display configurations. v2: - Update the test to use all the modifiers (Jeevan) v3: - Add modifier support check before starting dynamic subtests v4: - Use n_planes instead of hardcoded values - Free the display resources after the subtest (Jeevan) Signed-off-by: Karthik B S <karthik.b.s@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
12 dayslib/intel_batchbuffer: Refactor igt_get_render_copyfuncSai Teja Pottumuttu19-37/+27
The render copy wouldn't be supported if at all the render engine is absent. Refactor igt_get_render_copyfunc on these lines to return NULL if render engine is absent. The patch also corrects the function usage across IGT as per the refactor and does the required cleanup. v2: Fix up comments for igt_get_render_copyfunc (Ashutosh) Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
12 daystests/intel/xe_fault_injection: Test some early probe functionsLucas De Marchi1-0/+6
Test-with: https://lore.kernel.org/intel-xe/20250311-fix-survivability-v2-0-729ce081155e@intel.com/ Reviewed-by: Francois Dugast <francois.dugast@intel.com> Link: https://lore.kernel.org/r/20250311183833.1199190-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
12 daystests/kms: Align test documentationSwati Sharma19-30/+37
Formatting of test documentation in few KMS tests differs from the established pattern. /** * TEST: * Category: * Description: * Driver requirement: * Mega feature: * * SUBTEST: * Description: */ Also there is no need to duplicate documentation fields in subtests if Category/Driver requirement/Mega feature are same for subtest as for whole binary. Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
12 daystests/kms_addfb_basic: Split tests into subtest groupsKarthik B S1-5/+10
Multiple subtest groups exist in kms_addfb_basic with individual igt_fixutre calls. Split these using igt_subtest_group so that any failure in the fixture of one of the individual subtest groups don't affect the results of subtests in other groups. Signed-off-by: Karthik B S <karthik.b.s@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
12 daystests/kms: Fix documentationSwati Sharma4-11/+0
Missed few KMS binaries, drop 'Functionality' and 'Test category' from them too. Fixes: 25039689b609 ("tests/kms: Drop 'Functionality' and 'Test category' from documentation") Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
13 daystests/intel/xe_pm: Add a check for power management capabilityJakub Kolakowski1-0/+3
Add a check for power management capability of device tested in tests related to D3 states. Currently if test is started on configuration that does not support the PM capability it doesn't skip, instead depending on test it may fail, abort or timeout. With this change test will skip with a clear message why it did. Cc: Adam Miszczak <adam.miszczak@linux.intel.com> Cc: Lukasz Laguna <lukasz.laguna@intel.com> Cc: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Signed-off-by: Jakub Kolakowski <jakub1.kolakowski@intel.com> Reviewed-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Karthik Poosa <karthik.poosa@intel.com>
13 daystests/intel/xe_fault_injection: Injection list clear at exitMarcin Bernatowicz1-0/+7
Reintroduce clearing of the injection list as an exit handler to ensure fault injections are properly cleaned up. Fixes: c0b2d9202f78 ("tests/intel/xe_fault_injection: Use igt_sysfs helpers") Cc: Francois Dugast <francois.dugast@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
2025-03-21tests/intel/xe_oa: Keep OA user buffer size dynamicSai Teja Pottumuttu1-1/+1
non-zero-reason OA test has a hardcoded user buffer size for any kernel OA buffer. This makes the test act differently for different sizes. Thus make the user buffer size to be in line with the kernel OA buffer being allocated. v2: Address operator precedence (Ashutosh) Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
2025-03-15tests/intel/xe_oa: Don't limit sync tests to render engineAshutosh Dixit1-1/+1
OA sync tests need not be limited to render engine only. Extend them to use any engine using __for_one_hwe_in_oag macro instead. Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
2025-03-15tests/intel/xe_oa: Fix __for_one_render_engineAshutosh Dixit1-9/+6
On platforms without render engines, __for_one_render_engine is an infinite loop. Fix and simplify the macro to reduce chance of such errors in the future. v2: Use pre-existing xe_find_engine_by_class() Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
2025-03-14tests/amdgpu/amd_hotplug: add missing include file fcntl.hAlex Hung1-0/+2
Add missing include file to fix cross-compilation errors: ../tests/amdgpu/amd_hotplug.c: In function is_system_s2idle: ../tests/amdgpu/amd_hotplug.c:110:7: error: implicit declaration of function open; did you mean popen? [-Werror=implicit-function-declaration] fd = open(MEM_SLEEP_PATH, O_RDONLY); ^~~~ popen ../tests/amdgpu/amd_hotplug.c:110:7: warning: nested extern declaration of open [-Wnested-externs] ../tests/amdgpu/amd_hotplug.c:110:28: error: O_RDONLY undeclared (first use in this function); did you mean STA_RONLY? fd = open(MEM_SLEEP_PATH, O_RDONLY); ^~~~~~~~ STA_RONLY Fixes: 6796e79abba2 ("tests/amdgpu/amd_hotplug: Check the suspend state after resume") Signed-off-by: Alex Hung <alex.hung@amd.com> Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
2025-03-13tests/amdgpu/amd_hotplug: Check the suspend state after resumeTom Chung1-0/+47
[Why & How] Check the last hardware sleep state after resume to make sure last suspend really reached hardware sleep state. Make sure to enable the suspend related settings in kernel config Linux Kernel Configuration └─>Power management and ACPI options Suspend to RAM and standby ACPI (Advanced Configuration and Power Interface) Support Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com>
2025-03-13tests/xe_eudebug_online: Add set-breakpoint-sigint-debugger testDominik Karol Piątkowski1-0/+96
Add a test that sends SIGINT to the debugger thread with random timing and checks if nothing breaks, exercising the scenario multiple times. v2: Count correctly timed SIGINTs and assert that they happened (Mika) v3: Move loop_count increment outside macro (Mika) Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
2025-03-13tests/intel/kms_fbc_dirty_rect: cleanup the dirty rect testsVinod Govindapillai1-141/+90
These tests rely on FBC is enabled, some FIFO underruns can disable FBC and can trigger asserts. In case if such asserts are triggered, we end up not clearing the used fbs and crcs. Use common functions to prepare and clear igt test parameters as required for each tests Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
2025-03-12tests/intel/i915_module_load: Do not skip on sndLucas De Marchi1-2/+0
The fact that snd_hda_* is loaded doesn't mean i915 is. It used to be the case that loading e.g. snd_hda_intel would load i915 because of a request_module("i915") in the kernel. However that changed in commit e6d0c13e9f46 ("ALSA: hda: i915: Remove extra argument from snd_hdac_i915_init"). Drop the snd_* modules from unwanted_drivers. Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13896 Link: https://lore.kernel.org/r/20250311195339.1206647-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2025-03-12tests/intel/xe_drm_fdinfo: Fail basic_engine_utilization if no utilization dataMarcin Bernatowicz1-1/+1
Replace igt_require with igt_assert to enforce that num_engines is nonzero rather than skipping the test. This ensures the test fails explicitly if engine utilization data is missing. Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Lukasz Laguna <lukasz.laguna@intel.com> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Jakub Kolakowski <jakub1.kolakowski@intel.com>
2025-03-12tests/intel/xe_drm_fdinfo: Check prerequisites for utilization subtestsMarcin Bernatowicz1-11/+43
Introduce require_engine_utilization_data() to verify utilization data availability in each utilization subtest. Suggested-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Lukasz Laguna <lukasz.laguna@intel.com> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com> Reviewed-by: Jakub Kolakowski <jakub1.kolakowski@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
2025-03-11tests/intel/kms_dp_link_training: fix assert for ↵Kunal Joshi1-2/+2
igt_find_all_mst_output_in_topology fix assert for igt_find_all_mst_output_in_topology as it changed to int from bool Fixes: 983ffca5ff96fd67c937691337f4488e28948aa7 Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2025-03-11tests/intel/kms_dp_link_training: do modeset before retrainingKunal Joshi1-1/+1
Retraining can be done on enabled output. Fix test to do modeset before retraining. v2: remove redundant modeset (Jeevan) Fixes: 983ffca5ff96fd67c937691337f4488e28948aa7 Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>
2025-03-10tests/intel: Update sub-category of Xe power management testsKarthik Poosa3-3/+3
Change sub-category of below tests from Power management tests to below: * tests/intel/xe_gt_freq.c to Frequency management tests. * tests/intel/xe_pm.c to Suspend-resume tests. * tests/intel/xe_pm_residency.c to GT C-states and idle residency tests. v2: Modify sub-category as per review comments. (Rodrigo) Signed-off-by: Karthik Poosa <karthik.poosa@intel.com> Link: https://lore.kernel.org/r/20250228050757.2081043-1-karthik.poosa@intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2025-03-10tests/amdgpu/amd_replay: Skip test if no DRM DP AUX InterfaceTom Chung1-0/+2
[Why] The Replay IGT test need to communicate with eDP via drm_dp_aux* Currently the test will report FAIL if no DRM DP AUX Interface found on the system. [How] Skip the test if no DRM DP AUX Interface on the system and info the tester the DRM DP AUX Interface need to be enabled in kernel config to run the test. The following setting in kernel config needs to be enabled for amd_replay test. Linux Kernel Configuration └─>Device Drivers └─>Graphics support └─>Direct Rendering Manager └─>DRM DP AUX Interface Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com>
2025-03-10tests/kms: Drop 'Functionality' and 'Test category' from documentationSwati Sharma83-562/+0
'Functionality' solely depends upon developer's interpretation and 'Test category' is not used. Let's remove them from the kms tests documentation so that documentation can be made precise which is easy to maintain. v2: -rebase Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2025-03-10tests/intel/kms_fbc_dirty_rect: fix the log level in fbc enabled checkVinod Govindapillai1-1/+1
Even if FBC is enabled and test is successfull, using warn level to print the info will make the CI treat this as a failure. In case FBC is not enabled, the assert will be triggered and print the error case. Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Reviewed-by: Jeevan B <jeevan.b@intel.com>