https://bugs.freedesktop.org/show_bug.cgi?id=100305
Bug ID: 100305 Summary: [BAT][IGT]basic tests in gem_ctx_basic, gem_ctx_exec, gem_ctx_params fail Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: tomi.p.sarvela@intel.com
This problem is fallout from commit 301ad44cdf1b868b1ab89096721da91fa8541fdc lib: Open debugfs files for the given DRM device
Error is always the same: (gem_ctx_basic:6494) igt-debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file igt_debugfs.c:964: (gem_ctx_basic:6494) igt-debugfs-CRITICAL: Failed assertion: fd >= 0 (gem_ctx_basic:6494) igt-debugfs-CRITICAL: Last errno: 2, No such file or directory Test gem_ctx_basic failed.
Problem in a nutshell: tomeu> test has a fd for the render node, but wants to tweak the i915_gem_drop_caches file for the legacy device