drm/intel
Kenneth Graunke 992e2afd59 intel: Change context create failure message to from fprintf to DBG().
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>
2012-07-12 13:44:21 -07:00
..
tests intel/decode: fix the reference file for 2012-06-27 10:22:37 -07:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Makefile.am intel: Add .aub file output support. 2012-03-09 16:34:14 -08:00
intel_aub.h intel: Add .aub file output support. 2012-03-09 16:34:14 -08:00
intel_bufmgr.c intel: fix the wrong method check for bo_get_subdata 2011-07-20 10:46:45 -07:00
intel_bufmgr.h intel/context: new execbuf interface for contexts 2012-06-27 09:57:17 -07:00
intel_bufmgr_fake.c intel: Shove the fake bufmgr subdata implementation into the fake bufmgr. 2010-11-01 06:54:58 -07:00
intel_bufmgr_gem.c intel: Change context create failure message to from fprintf to DBG(). 2012-07-12 13:44:21 -07:00
intel_bufmgr_priv.h intel/context: Add drm_intel_context type 2012-06-27 09:57:16 -07:00
intel_chipset.h intel: add Ivy Bridge GT2 server variant 2012-04-01 11:03:36 -03:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel/decode: fix the reference file for 2012-06-27 10:22:37 -07:00
libdrm_intel.pc.in intel: Install the header file in the libdrm/ directory. 2010-03-17 12:49:10 -07:00
mm.c Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
mm.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
test_decode.c intel: Fix build failure in test_decode.c 2012-07-03 09:54:41 -07:00