diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2017-03-22 15:20:51 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2017-03-27 15:57:50 -0700 |
commit | 088449487ebcb72561d73ffb91c96302583445a8 (patch) | |
tree | ef2221d6cde20200ded189e331c5ee65be38dfb7 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 99dd3d1c3ba57b52a34ac2227071f26ddf8fcb4a (diff) |
i965: Require Kernel 3.6 for Gen4-5 platforms.
We've already required Kernel 3.6 on Gen6+ since Mesa 9.2 (May 2013,
commit 92d2f5acfadea672417b6785710c9e8b7f605e41). It seems reasonable
to require it for Gen4-5 as well, bumping the requirement from 2.6.39.
This is necessary for glClientWaitSync with a timeout to work, which
is a feature we expose on Gen4-5. Without it, we would fall back to an
infinite wait, which is pretty bad.
See kernel commit 172cf15d18889313bf2c3bfb81fcea08369274ef in 3.6+.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 624abe6d523..2fafee07674 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1097,7 +1097,7 @@ brwCreateContext(gl_api api, brw->hw_ctx = drm_intel_gem_context_create(brw->bufmgr); if (!brw->hw_ctx) { - fprintf(stderr, "Gen6+ requires Kernel 3.6 or later.\n"); + fprintf(stderr, "Failed to create hardware context.\n"); intelDestroyContext(driContextPriv); return false; } |