From: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
To: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t] igt/debugfs_test: Skip dummy reads for sysfs pipe crc data
Date: Wed, 28 Jun 2017 14:06:05 +0300 [thread overview]
Message-ID: <20170628110605.GB24776@ahiler-desk1.ger.corp.intel.com> (raw)
In-Reply-To: <1498645996-8019-1-git-send-email-abdiel.janulgue@linux.intel.com>
On Wed, Jun 28, 2017 at 01:33:16PM +0300, Abdiel Janulgue wrote:
> Doing this tends to takes forever.
>
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
> ---
> tests/debugfs_test.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
> index 3f0eaae..3d973d9 100644
> --- a/tests/debugfs_test.c
> +++ b/tests/debugfs_test.c
> @@ -40,7 +40,8 @@ static void read_and_discard_sysfs_entries(int path_fd)
>
> while ((dirent = readdir(dir))) {
> if (!strcmp(dirent->d_name, ".") ||
> - !strcmp(dirent->d_name, ".."))
> + !strcmp(dirent->d_name, "..") ||
> + !strcmp(dirent->d_name, "crc"))
Do we have one that actually is named just "crc"?
IIRC 'i915_something_crc_something' was the format, and the check won't
catch them.
--
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-06-28 11:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 10:33 [PATCH i-g-t] igt/debugfs_test: Skip dummy reads for sysfs pipe crc data Abdiel Janulgue
2017-06-28 11:06 ` Arkadiusz Hiler [this message]
2017-06-29 8:05 ` Abdiel Janulgue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170628110605.GB24776@ahiler-desk1.ger.corp.intel.com \
--to=arkadiusz.hiler@intel.com \
--cc=abdiel.janulgue@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.