search for: igt_debugfs_open

Displaying 6 results from an estimated 6 matches for "igt_debugfs_open".

2020 Mar 18
0
[PATCH i-g-t 2/4] lib/igt_debugfs: Add igt_debugfs_pipe_dir()
...+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 index 7d1a6175..15741a40 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -36,6 +36,7 @@ char *igt_debugfs_path(int device, char *path, int pathlen); int igt_debugfs_dir(int device); int...
2020 Apr 17
0
[PATCH i-g-t v3 3/5] lib/igt_debugfs: Add igt_debugfs_pipe_dir()
...+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 index 7d1a6175..15741a40 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -36,6 +36,7 @@ char *igt_debugfs_path(int device, char *path, int pathlen); int igt_debugfs_dir(int device); int...
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
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
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