- Dec 18, 2024
-
-
Zbigniew Kempczyński authored
Multiplication without using casting to long (long) for at least one argument in expression may cause overflow especially when we're using this for calculating timeouts in nanoseconds precision. Ensure we're picking valid ul/ull suffix for base definitions for all dependents. Reported-by:
Ilia Levi <ilia.levi@intel.com> Closes: #163 Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Ilia Levi <ilia.levi@intel.com> Reviewed-by:
Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Link: https://lore.kernel.org/r/20241218060730.18961-1-zbigniew.kempczynski@intel.com Signed-off-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
-
There are hardware platforms which are not supporting hwconfig table, for example ADLS. Since [1] queried number of threads per eu can be NULL, accept it and use 8 as default. [1] https://patchwork.freedesktop.org/series/142282/ Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Jan Maslak <jan.maslak@intel.com> Link: https://lore.kernel.org/r/20241213092339.18038-1-dominik.grzegorzek@intel.com
-
Correct switch indentation so it follows kernel guidelines. Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Acked-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241211114044.210562-4-dominik.grzegorzek@intel.com
-
Replace local function returning class short name by library function defined in xe_query.h. Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241211114044.210562-3-dominik.grzegorzek@intel.com
-
Define xe_engine_class_to_str as library function in xe_query.h and change its name to xe_engine_class_short_string so it matches already defined xe_engine_class_string. Replace all uses of xe_engine_class_to_str within igt_sysfs.c. Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241211114044.210562-2-dominik.grzegorzek@intel.com
-
Replace all places in which we casted base to specific event via (void *) casting with igt_container_of, as this is more errorless approach. Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241211114044.210562-1-dominik.grzegorzek@intel.com
-
Change two comments in xe_eudebug testcase to be properly formatted. This was pointed in the review, but the patch has been merge before correcting mentioned nits. Fixes "05659c7f tests/xe_eudebug: Validate exec queue placements" Reported-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Link: https://lore.kernel.org/r/20241114144156.82071-1-dominik.grzegorzek@intel.com
-
Add a test that gives user fence in application, holds it, sends SIGINT to client and checks if anything breaks. Signed-off-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241216134937.6136-4-dominik.karol.piatkowski@intel.com
-
Add a test that gives user fence in application, holds it, drops the debugger connection and checks if anything breaks. It is expected that held acks are released when connection is dropped. Signed-off-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241216134937.6136-3-dominik.karol.piatkowski@intel.com
-
Add a test that gives user fence in application and checks if delayed ufence ack works. Signed-off-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Reviewed-by:
Christoph Manszewski <christoph.manszewski@intel.com> Link: https://lore.kernel.org/r/20241216134937.6136-2-dominik.karol.piatkowski@intel.com
-
Swati2 Sharma authored
For ultrajoiner min 4 pipes are required and each pipe requires atleast 2 slices, which makes minimum of 8 slices for ultrajoiner. Closes: drm/xe/kernel#3387 Signed-off-by:
Swati Sharma <swati2.sharma@intel.com> Reviewed-by:
Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
-
Swati2 Sharma authored
Helper is added to return maximum dsc sink slice count from the connector debugfs. Signed-off-by:
Swati Sharma <swati2.sharma@intel.com> Reviewed-by:
Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
-
Lucas De Marchi authored
This is unused since commit 03706cd8 ("lib/igt_kmod: remove the conditional audio removal code"). Nuke it. Reviewed-by:
Clint Taylor <Clinton.A.Taylor@intel.com> Link: https://lore.kernel.org/r/20241119054008.2001984-1-lucas.demarchi@intel.com Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com>
-
- Dec 17, 2024
-
-
Kamil Konieczny authored
Add Karthik B S. Cc: Bhanuprakash Modem <bhanuprakash.modem@gmail.com> Cc: Petri Latvala <adrinael@adrinael.net> Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Acked-by:
Karthik B S <karthik.b.s@intel.com> Acked-by:
Petri Latvala <adrinael@adrinael.net>
-
check the ctx_timestamp register post gt reset for each engine. Signed-off-by:
Pravalika Gurram <pravalika.gurram@intel.com> Reviewed-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Link: https://lore.kernel.org/r/20241217063029.663697-3-pravalika.gurram@intel.com Signed-off-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
-
move spin_ctx_init,spin_ctx_start,spin_ctx_end,spin_ctx_destroy to xe spin lib to avoid code redundancy. removed xe_cork* functions to avoid duplicate spinner code. Signed-off-by:
Pravalika Gurram <pravalika.gurram@intel.com> Reviewed-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Link: https://lore.kernel.org/r/20241217063029.663697-2-pravalika.gurram@intel.com
-
From kernel driver debugfs support is not present so remove the lobf supported check from igt. Cc: Jeevan B <jeevan.b@intel.com> Signed-off-by:
Animesh Manna <animesh.manna@intel.com> Reviewed-by:
Jeevan B <jeevan.b@intel.com>
-
SANTHOSH GUDDATI authored
Check ultrajoiner support on the output and adjust `max_dotclock` accordingly. v2: remove extra parenthesis, indentation (Pranay) Signed-off-by:
Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com> Reviewed-by:
Pranay Samala <pranay.samala@intel.com>
-
KunalJoshi95 authored
chamelium_reset_state will unplug all the ports, prevent unplugging multiple times Fixes: drm/xe/kernel#3505 Signed-off-by:
Kunal Joshi <kunal1.joshi@intel.com> Reviewed-by:
Jeevan B <jeevan.b@intel.com>
-
- Dec 16, 2024
-
-
Pranay Samala authored
This patch reduces the number of non-4K HDMI EDIDs to 25 when the extended flag is not used, as CI does not use this flag. DP EDID tests are not reduced due to existing limited EDIDs. The change ensures that only HDMI non-4K EDIDs are limited, improving test efficiency and avoiding CI timeouts. Cc: Mark Yacoub <markyacoub@chromium.org> Cc: Mark Yacoub <markyacoub@google.com> Cc: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by:
Pranay Samala <pranay.samala@intel.com> Reviewed-by:
Kunal Joshi <kunal1.joshi@intel.com>
-
- Dec 13, 2024
-
-
Kamil Konieczny authored
Acked-by: Petri Latvala <adrinael@adrinael.net> #irc Acked-by:
Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
Dominik Karol Piątkowski authored
- Remove repeated calls to caching_get_instruction_count - Limit surface checking to each breakpoint that is after write instruction - Fix the issue with sync between workload lifetime vs resume Signed-off-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Reviewed-by:
Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://lore.kernel.org/all/20241205140352.16822-2-dominik.karol.piatkowski@intel.com
-
- Dec 12, 2024
-
-
The build process fails if the build dir is not a subdir of the project. Fixes: cba1773f ("scripts/generate_iga64_codes: add iga64_macros.h to checksum calculation") Signed-off-by:
Andrzej Hajda <andrzej.hajda@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
kms_dp_tiled_display is renamed to kms_tiled_display. Update this in the chamelium-only.testslist Closes: drm/xe/kernel#3547 Signed-off-by:
Karthik B S <karthik.b.s@intel.com> Reviewed-by:
Kunal Joshi <kunal1.joshi@intel.com> Acked-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
There are hardware platforms which are not supporting hwconfig table, for example ADLS. Querying hwconfig on unsupported platforms leads to assert and failure for some of tests like, ./build/tests/xe_module_load --r load drm/xe/kernel#3683 Cc: Matt Roper <matthew.d.roper@intel.com> Cc: Jan Maslak <jan.maslak@intel.com> Fixes: 37a230e5 ("lib/xe_query: add hwconfig to xe_device") Signed-off-by:
Tejas Upadhyay <tejas.upadhyay@intel.com> Reviewed-by:
Andrzej Hajda <andrzej.hajda@intel.com>
-
Christoph Manszewski authored
At some point (before upstreaming) the eudebug uapi changed and the 'DRM_XE_EUDEBUG_EVENT_MAX_EVENT' definition was dropped. Use an existing event number for filtering out all events and add missing filters for events introduced along the way. Reviewed-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Link: https://lore.kernel.org/r/20241211191741.36973-2-christoph.manszewski@intel.com Signed-off-by:
Christoph Manszewski <christoph.manszewski@intel.com>
-
Christoph Manszewski authored
The 'create_bind_list' function supports custom bo placement. Some subtests like 'basic-vm-access' can request vram placement and use xe_bo_map without setting the 'NEEDS_VISIBLE_VRAM' flag, which can result in a segmentation fault. Enable the 'NEEDS_VISIBLE_VRAM' flag by default, since the 'xe_bo_map' igt funtion unsets it automatically for non vram backed bos. Reviewed-by:
Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com> Link: https://lore.kernel.org/r/20241211191741.36973-1-christoph.manszewski@intel.com Signed-off-by:
Christoph Manszewski <christoph.manszewski@intel.com>
-
- Dec 11, 2024
-
-
Doing so fixes crashes on ATSM. Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
-
Ashutosh Dixit authored
This reverts commit d226604a. Re-instate TestOa metric set. IGT needs to work with TestOa since it has special properties which help with OA data validation. Remaining parts of d226604a were already reverted in 4942fc57 ("lib/xe/oa: Re-instate TestOa metric sets in LNL/BMG XML's"). Signed-off-by:
Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
Ashutosh Dixit authored
In order to avoid failures on unsupported Xe1 platforms, move Xe2+ check before init_sys_info. Closes: drm/xe/kernel#3645 Signed-off-by:
Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
The joiner mode check causes the kms_async_flip tests to fail on non-intel devices. Added a guard to only check the joiner mode if running on intel device. v2: Moved guard to within is_joiner_mode function Signed-off-by:
George Zhang <george.zhang@amd.com> Reviewed-by:
Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
-
Some tests (i.e. xe_eudebug_online, xe_exec_sip) are mapping intel_buf. If the backing storage is nvram, any access to mmaped buffer may cause segmentation fault. Set DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM by default as intel_bufs might be mapped and this is not harmful. Signed-off-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com> Reviewed-by:
Matthew Auld <matthew.auld@intel.com>
-
- Dec 10, 2024
-
-
Make sure we ask for DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM to avoid sigbus here. Signed-off-by:
Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by:
Dominik Grzegorzek <dominik.grzegorzek@intel.com>
-
Change Category for: * tests/intel/xe_exec_sip.c * tests/intel/xe_tlb.c Signed-off-by:
Katarzyna Piecielska <katarzyna.piecielska@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Acked-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
Integrate VMTB into the IGT build system: introduce a new meson build option 'vmtb' to enable VMTB sources installation in a libexec directory by default: /usr/local/libexec/igt-gpu-tools/vmtb/ VMTB is not enabled in a default IGT meson configuration, to build and install it, use the following command: meson build -Dvmtb=enabled && ninja -C build install Signed-off-by:
Adam Miszczak <adam.miszczak@linux.intel.com> Reviewed-by:
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
-
Provide vGPU profiles definition for Flex 170 (ATS-M) platform. Definitions are provided in a JSON format, parsed by the VMTB and applied as a test setup (fixture). Signed-off-by:
Adam Miszczak <adam.miszczak@linux.intel.com> Reviewed-by:
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
-
Provide basic SR-IOV test cases: - enable VFs, pass it to VMs and boot guest OS - submit basic workloads on a guest with virtualized GPU - exercise VF driver probe and remove Tests are created to run with a pytest framework. Basic tests are located in vmm_flows/test_basic.py, as test classes with subtests implemented as methods. Test setup is arranged by fixtures located in vmm_flows/conftest.py. Test are usually executed in multiple configuration variants (e.g. various number of VFs enabled, different provisioning settings). Initially only fundamental test scenarios are provided, but generally, the tool targets also complex test cases, like: - VF save/restore (VM migration) - VF provisioning - VF scheduling - VM power states - VF FLR - VM crash - GuC FW versioning Signed-off-by:
Adam Miszczak <adam.miszczak@linux.intel.com> Reviewed-by:
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
-
VM Test Bench (VMTB) is a tool for testing virtualization (SR-IOV) supported by the xe driver. It allows to enable and provision VFs (Virtual Functions) and facilitates manipulation of VMs (Virtual Machines) running virtual GPUs. This includes starting and accessing the KVM/QEMU VMs, running workloads or shell commands (Guest/Host), handling power states, saving and restoring VF state etc. Signed-off-by:
Adam Miszczak <adam.miszczak@linux.intel.com> Reviewed-by:
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
-
During LIC the link may fail due to a variety of reasons but this does not reflect a problem with HDCP. It becomes a problem only when we are not able to recover from the Link Integrity Failure. Add a check to see if CP property is CP_DESIRED and if so give it time to reauthenticate and fail only if this reauthentication does not happen. --v2 -Add debug statement [Santhosh] -Add closes tag [Santhosh] Closes: drm/xe/kernel#3508 Signed-off-by:
Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by:
Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
-
- Dec 09, 2024
-
-
PATH_MAX constant is defined in limits.h header file. It needs to be explicitly included in musl environment as it is not transitively available for any of available includes. Fixes: 9366bee0 ("lib: Add DRM driver sysfs profiling knob toggling functions") Cc: Adrián Larumbe <adrian.larumbe@collabora.com> Signed-off-by:
Petr Vaněk <arkamar@atlas.cz> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by:
Adrian Larumbe <adrian.larumbe@collabora.com>
-