diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2014-09-17 08:28:50 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2014-09-17 08:28:50 +0000 |
commit | 73547eeae90e3d79444105ea1ff83d8a2ec27d5b (patch) | |
tree | 91fddaf5331ce3893ffc79ee97929b97bf388d0a /sys/sys/param.h | |
parent | 17cf3eb1528a75d6e42cdc00db21d6bfd428dc64 (diff) | |
download | src-73547eeae90e3d79444105ea1ff83d8a2ec27d5b.tar.gz src-73547eeae90e3d79444105ea1ff83d8a2ec27d5b.zip |
drm/i915: Add HW context support
This feature is required by Mesa 9.2+. Without this, a GL application
crashes with the following message:
# glxinfo
name of display: :0.0
Gen6+ requires Kernel 3.6 or later.
Assertion failed: (ctx->Version > 0), function handle_first_current,
file ../../src/mesa/main/context.c, line 1498.
Abort (core dumped)
Now, Mesa 10.2.4 and 10.3-rc3 works fine:
# glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
...
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 10.2.4
...
The code was imported from Linux 3.8.13.
Reviewed by: kib@
Tested by: kwm@, danfe@, Henry Hu,
Lundberg, Johannes <johannes@brilliantservice.co.jp>,
Johannes Dieterich <dieterich.joh@gmail.com>,
Lutz Bichler <lutz.bichler@gmail.com>,
MFC after: 3 days
Relnotes: yes
Notes
Notes:
svn path=/head/; revision=271705
Diffstat (limited to 'sys/sys/param.h')
-rw-r--r-- | sys/sys/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h index dd7cb83c676a..e85fcd923668 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -58,7 +58,7 @@ * in the range 5 to 9. */ #undef __FreeBSD_version -#define __FreeBSD_version 1100034 /* Master, propagated to newvers */ +#define __FreeBSD_version 1100035 /* Master, propagated to newvers */ /* * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD, |