search for: igt_debugfs_dir

Displaying 7 results from an estimated 7 matches for "igt_debugfs_dir".

2020 Mar 18
0
[PATCH i-g-t 2/4] lib/igt_debugfs: Add igt_debugfs_pipe_dir()
...his opens the debugfs directory corresponding to the pipe index on the + * device for use with igt_sysfs_get() and related functions. + * + * Returns: + * The directory fd, or -1 on failure. + */ +int igt_debugfs_pipe_dir(int device, int pipe, int mode) +{ + char buf[128]; + int dir, ret; + + dir = igt_debugfs_dir(device); + if (dir < 0) + return dir; + + snprintf(buf, sizeof(buf), "crtc-%d", pipe); + ret = openat(dir, buf, mode); + + close(dir); + + return ret; +} + /** * igt_debugfs_open: * @filename: name of the debugfs node to open diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h ind...
2020 Apr 17
0
[PATCH i-g-t v3 3/5] lib/igt_debugfs: Add igt_debugfs_pipe_dir()
...his opens the debugfs directory corresponding to the pipe index on the + * device for use with igt_sysfs_get() and related functions. + * + * Returns: + * The directory fd, or -1 on failure. + */ +int igt_debugfs_pipe_dir(int device, int pipe, int mode) +{ + char buf[128]; + int dir, ret; + + dir = igt_debugfs_dir(device); + if (dir < 0) + return dir; + + snprintf(buf, sizeof(buf), "crtc-%d", pipe); + ret = openat(dir, buf, mode); + + close(dir); + + return ret; +} + /** * igt_debugfs_open: * @filename: name of the debugfs node to open diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h ind...
2020 Apr 17
5
[PATCH i-g-t v2 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> (Just forwarding this to nouveau's ml, since I completely forgot to before) Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that)
2020 Mar 18
6
[PATCH i-g-t 0/4] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2020 Apr 17
10
[PATCH i-g-t v3 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2017 Jun 09
1
[ANNOUNCE] intel-gpu-tools 1.19
...e given DRM device" igt/gem_exec_reloc: Double memory requirements igt/gem_exec_whisper: Do context requirement check in parent lib: Clear unrelated errno for intel_detect_and_clear_missed_interrupts lib: system() is bad, use libkmod instead Improve utilisation of igt_debugfs_dir() lib/debugfs: Phase out igt_debugfs_fopen() igt/kms_sink_crc_basic: Fix debugfs error handling igt/kms_pipe_crc_basic: Fix assertion for bad commands lib/sysfs: stop before calling write with zero bytes igt/kms_sink_crc_base: CRC is on 3 channels, not 4. Replace...
2020 Sep 30
9
[PATCH i-g-t v5 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, and at this point that support has made its way upstream. Hooray! So, let's start adding some relevant tests for it since nvidia's CRC implementation has some rather interesting design choices that needed to be worked around. Lyude Paul (5): lib/igt_core: Fix igt_assert_fd() documentation