mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 16:00:13 +01:00
Since there is no getparam for hardware context support, Mesa always tries to obtain a context by calling drm_intel_gem_context_create and NULL-checking the result. On an older kernel without context support, this caused libdrm to print an unwanted message to stderr: DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: Invalid argument In fact, this caused every Piglit test to fail with a "warn" status due to the unrecognized error message. Change the message to use DBG() rather than fprintf(), so people can still get the debug message, but it won't spam normally. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> |
||
|---|---|---|
| .. | ||
| tests | ||
| .gitignore | ||
| intel_aub.h | ||
| intel_bufmgr.c | ||
| intel_bufmgr.h | ||
| intel_bufmgr_fake.c | ||
| intel_bufmgr_gem.c | ||
| intel_bufmgr_priv.h | ||
| intel_chipset.h | ||
| intel_debug.h | ||
| intel_decode.c | ||
| libdrm_intel.pc.in | ||
| Makefile.am | ||
| mm.c | ||
| mm.h | ||
| test_decode.c | ||