summaryrefslogtreecommitdiff
path: root/tests/1080p-left.png
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-01-29 11:17:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-01-29 23:42:42 +0000
commit96c2dfbbb2c10cd92ddc9fe22993371bc3ba36a1 (patch)
tree79e228174a3b4af84524a787c7ce7696656b1f12 /tests/1080p-left.png
parent998e0a4aedf10fb5f7c271018cd80d874668bf55 (diff)
i915/gem_exec_capture: Check the strlen() for an empty file
igt_sysfs_get() only returns NULL if the open() fails, and a valid string otherwise. So if the read() fails with ENODEV (because sysfs doesn't provide the driver with an ->open() callback), we return an empty string, and "No error captured" otherwise. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109481 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'tests/1080p-left.png')
0 files changed, 0 insertions, 0 deletions