summaryrefslogtreecommitdiff
path: root/tests/gem_madvise.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2017-12-04 13:02:55 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-12-15 12:59:21 +0000
commitc0be3310715e2f744b892c51f09e62273bcc8e57 (patch)
tree70ed44b9f66ae97158814322b82ea950acade986 /tests/gem_madvise.c
parent417b29e2fbc97f99455a9e4bd22270bab0a4628f (diff)
tests/kms_frontbuffer_tracking: Correctly handle debugfs errors
In commit 3f6ae7b19 ("igt/kms_frontbuffer_tracking: Keep the debugfs dir around") we introduced custom variant of __igt_debugfs_read function that fires assert when debugfs returns an error. Replace that assert with proper error handling to allow use of errors like -ENODEV. v2: allow only -ENODEV (Chris) Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_madvise.c')
0 files changed, 0 insertions, 0 deletions