freebsd-dev/sys/modules/drm2
Jean-Sébastien Pédron 73547eeae9 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
2014-09-17 08:28:50 +00:00
..
drm2 Disable error message about failed attempt to attach fbd when drm2 built with 2013-12-10 15:53:00 +00:00
i915kms drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
radeonkms Remove unnecessary inclusions of bsd.own.mk. 2014-08-04 22:34:12 +00:00
radeonkmsfw drm/radeon: Import the Radeon KMS driver 2013-08-25 19:37:15 +00:00
Makefile drm/i915: Disable the build of i915 on PC98 2014-08-25 14:58:36 +00:00
Makefile.inc