- Oct 17, 2022
-
-
Remove unused rapl functions from igt_power. No functional changes Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
igt_power library reads energy using hwmon interface for dgfx and rapl otherwise. Modify gem_exec_whisper test to use igt_power interface. Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
igt_power library reads energy using hwmon interface for dgfx and rapl otherwise. Modify semaphore-power test to use igt_power interface. Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
igt_power library reads energy using hwmon interface for dgfx and rapl otherwise. Modify rc6-idle and rc6-fence to use igt_power interface. Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
Modify igt_power to expose functions to read energy, power using hwmon and rapl interface Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
Rename igt_rapl library to igt_power. No functional changes Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
igt_hwmon exposes methods to open hwmon directories identified by name v2: Add license(Petri) Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com>
-
Alex Hung authored
amdgpu rejects when crtc is on + primary plane is off. As a result, skipping these scenario when they cannot be turned off together, i.e. crtc cannot be off when reading crc values. Signed-off-by:
Alex Hung <alex.hung@amd.com> Reviewed-by:
Mark Yacoub <markyacoub@chromium.org>
-
Alex Hung authored
GPU drivers can reject when crtc is on and primary plane is off, so turn crtc off with primary plane and turn it on afterwards. Signed-off-by:
Alex Hung <alex.hung@amd.com> Reviewed-by:
Mark Yacoub <markyacoub@chromium.org>
-
- Oct 15, 2022
-
-
Juha-Pekka Heikkilä authored
on creating reference images for crcs re-render only parts which have changed. Signed-off-by:
Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by:
Vinod Govindapillai <vinod.govindapillai@intel.com>
-
Juha-Pekka Heikkilä authored
on async flip tests there's need to create large solid color framebuffer. Here is optimized creating this framebuffer with help of rendercopy. Signed-off-by:
Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by:
Vinod Govindapillai <vinod.govindapillai@intel.com>
-
- Oct 14, 2022
-
-
Aurabindo Pillai authored
Skip the tests for cursor sizes that are not supported by the hardware Signed-off-by:
Aurabindo Pillai <aurabindo.pillai@amd.com> Reviewed-by:
Alex Hung <alex.hung@amd.com> Reviewed-by:
Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
-
- Oct 13, 2022
-
-
Alex Hung authored
amdgpu rejects when crtc is on + all planes are off, and it is necessary to turn off crtc when all planes are off in the subtest "tiling-none". This is revised from https://patchwork.freedesktop.org/series/80904/ Signed-off-by:
Alex Hung <alex.hung@amd.com> Reviewed-by:
Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
-
Juha-Pekka Heikkilä authored
legacy format addfb test try to fuzz kernel with random parameters, these random parameters cause logging into dmesg. Limit fuzzing rounds to maximum of 10k (or 1 second) to limit size of created log. Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/7017 Signed-off-by:
Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by:
Vinod Govindapillai <vinod.govindapillai@intel.com>
-
- Oct 12, 2022
-
-
The `#define sigev_notify_thread_id _sigev_un._tid` macro differs on FreeBSD. This patch uses ifdefs to stop the compiler from overriding FreeBSD's existing definition. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
In FreeBSD, the ptrace() function cannot take a variable length list of arguments. This patch adds NULL in the @data parameter to allow for compilation on FreeBSD systems. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
igt_devices_scan returns with empty list if it is called after anyone calls igt_devices_free. Fixed this with clearing igt_devs.devs_scanned inside igt_devices_free. Also while at this, fix memory leak in it. Remove redudant code from igt_devices_scan and replace it with call to igt_devices_free v2: optimize code in igt_devices_scan (Zbigniew) v3: update commit message (Janusz) v4: [Kamil] re-worded commit message and commit description Signed-off-by:
Riana Tauro <riana.tauro@intel.com> Reviewed-by:
Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Acked-by:
Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
-
Bhanuprakash Modem authored
As we are intended to test few cases on internal panels separately, fix the logic to execute such tests on internal panels only. 'TRANSITION_MODESET_FAST' -> should be only for internal panels 'TRANSITION_MODESET' -> should be only for external panels Fixes: 2527ce52 (tests/kms_atomic_transition: Convert tests to dynamic) Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by:
Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by:
Karthik B S <karthik.b.s@intel.com>
-
- Oct 11, 2022
-
-
Matthew Auld authored
DG1, as expected only has a fixed sized bar, so attempting to force the BAR size should fail. Update the test to account for such devices, and perform a skip, instead of failing. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6458 Signed-off-by:
Matthew Auld <matthew.auld@intel.com> Cc: Nirmoy Das <nirmoy.das@intel.com> Tested-by:
Nirmoy Das <nirmoy.das@intel.com> Reviewed-by:
Nirmoy Das <nirmoy.das@intel.com>
-
Allow benchmark compilation on a FreeBSD system using the drop-in igt_freebsd header. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
FreeBSD uses iic instead of i2c for I/O management. This patch includes the FreeBSD iic header and uses a macro substitution to convert the i2c addr member into the iic slave member. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
Use sysctlbyname() to gather RAM and swap information for any FreeBSD system using igt. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
Both Linux and FreeBSD have a <sys/syscall.h>, but some operating systems do not. This patch opens up syscall.h access to FreeBSD through using #ifdef __FreeBSD__ Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
Use #ifdef __linux__ to limit all Linux-specific headers to Linux systems Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
This header attempts to be a simple drop-in to enable FreeBSD support in a given source file. It includes macro substitutions that replace Linux-specific phrases with their FreeBSD equivalents. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Acked-by:
Petri Latvala <petri.latvala@intel.com>
-
- Oct 10, 2022
-
-
Sanitize the system state before starting the subtest. v2: Created a new functions for each subtest instead of managing the full logic within the igt_subtest(). v3: Minor changes. v4: Replaced igt_assert_f with igt_require_f in prune-stale-modes. v5: Added goto statement if connector_id found true. v6: Minor changes. v7: Added func pointer to subtests. Signed-off-by:
Mohammed Thasleem <mohammed.thasleem@intel.com>
-
In subtest_leak(), mmap() is called with the flag PROT_WRITE, but no PROT_READ. Later in the function, the mapped memory is read using `children[i]`. In FreeBSD, the lack of PROT_READ causes SIGSEGV. Adding the PROT_READ flag to the mmap() call fixes this. Signed-off-by:
Jake Freeland <jfree@freebsd.org> Reviewed-by:
Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
After each subtest gpu should be idle or else busy engine leaks into next subtest. References: https://gitlab.freedesktop.org/drm/intel/-/issues/5888 Suggested-by:
Chris Wilson <chris.p.wilson@intel.com> Signed-off-by:
Nirmoy Das <nirmoy.das@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
Add test description to all the available subtests. Signed-off-by:
Janga Rahul Kumar <janga.rahul.kumar@intel.com> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
Converting the existing subtests to dynamic subtests. Adding support for each_pipe, currently PSR2 is supported on few pipes so breaking the loop for other pipes currently. v2: Add commit message and change break to continue. v3: Check for pipe supporting PSR2 or not and then add to dynamic subtest. v4: Check PSR2 support once in fixture then iterate pipes. v5: Increase array size for pipes and outputs. Signed-off-by:
Jeevan B <jeevan.b@intel.com> Reviewed-by:
Jouni Högander <jouni.hogander@intel.com>
-
Converting the existing subtests to dynamic subtests. Adding support for each_pipe, currently PSR2 is supported on few pipes so breaking the loop for other pipes currently. v2: Check for pipe supporting PSR2 or not and then add to dynamic subtest. v3: Check PSR2 support once in fixture then iterate pipes. v4: Add output part into dynamic name. v5: Add the missing code and increase pipes and outputs array size. Signed-off-by:
Jeevan B <jeevan.b@intel.com> Reviewed-by:
Jouni Högander <jouni.hogander@intel.com>
-
Karthik B S authored
Covert the existing subtests to dynamic subtests at pipe/output level. Signed-off-by:
Karthik B S <karthik.b.s@intel.com> Reviewed-by:
Bhanuprakash Modem <bhanuprakash.modem@intel.com>
-
Karthik B S authored
Reset display to clean the state before starting the subtest. Move the clean up part to a separate function so that cleanup code is run even if there is a failure in the subtest. This prepares the test for conversion to dynamic subtests. Remove redundant mode override as we're anyway overriding with the default mode. Check if platform is capable of atomic commit before choosing commit style in cleanup function. Signed-off-by:
Karthik B S <karthik.b.s@intel.com> Reviewed-by:
Bhanuprakash Modem <bhanuprakash.modem@intel.com>
-
Karthik B S authored
Add a modeset before checking output is HDCP capable. Test currently skips on multidisplay MST config telling no HDCP capable output is found because we're checking if output is HDCP capable before doing a modeset on that output. Try other pipe/output combo for MST if failure is seen on one, as the test is not dependent on the combination as long as each output has a valid pipe. Signed-off-by:
Karthik B S <karthik.b.s@intel.com> Reviewed-by:
Bhanuprakash Modem <bhanuprakash.modem@intel.com> Acked-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
- Oct 07, 2022
-
-
The mmap64() function exists to point 32-bit architectures to an mmap interface with the capability to address a 64-bit memory address space. As 32-bit machines are replaced by 64-bit, there is no longer a need to keep mmap64() around. This is especially apparent in operating systems like FreeBSD that exclude the mmap64() function altogether. This patch replaces all instances of mmap64() with mmap(). Signed-off-by:
Jake Freeland <jfree@freebsd.org> Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com>
-
- Oct 06, 2022
-
-
Mauro Carvalho Chehab authored
While analyzing the data, it is nice to have a quick summary about how much each set of the analyzed data contributes to the total. So, generate a function summary report with the interception of all the sets ("common function coverage"), plus the difference that an individual test group contributes. This is useful to provide a quick feedback on several situations: - When comparing FULL with BAT: - how many functions are added on FULL? - are there functions that are only on BAT? - When comparing different machines: - How many functions each individual machine has over the common group? - When comparing a group of tests: - How many functions an individual test adds for the coverage that weren't covered at the common group yet? Acked-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
-
Mauro Carvalho Chehab authored
When -O2/-O3 is used with GCC, IPA will produce function variants at the object code. So, for a function or macro foo(), it may produce several actual functions at the object code, like: foo.isra.3 foo.isra.4 For the purposes of code coverage, all of those are the same function, so use a regex with "\w+", which will exclude the .isra.<number>, considering all variants as the same function. Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
-
Mauro Carvalho Chehab authored
The indentation is not relevant for the output, but it makes easier when debugging issues at the produced file. Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
-
Mauro Carvalho Chehab authored
Don't override $record{source} due to BRF, or the script will crash. Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
-
Mauro Carvalho Chehab authored
The --only-drm filtering rules were filtering too much, ending to exclude functions on files with "h" on their names. Reviewed-by:
Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
-