i965: Require Kernel 3.6 for Gen4-5 platforms.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Mar 2017 22:20:51 +0000 (15:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 27 Mar 2017 22:57:50 +0000 (15:57 -0700)
commit088449487ebcb72561d73ffb91c96302583445a8
treeef2221d6cde20200ded189e331c5ee65be38dfb7
parent99dd3d1c3ba57b52a34ac2227071f26ddf8fcb4a
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>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_screen.c