freebsd-nq/sys/dev/drm2/i915
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
..
i915_debug.c
i915_dma.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_drm.h drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_drv.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_drv.h drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_gem_context.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_gem_evict.c
i915_gem_execbuffer.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_gem_gtt.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_gem_tiling.c
i915_gem.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_ioc32.c Add drm and i915 ioctl translations for 32 bit process on 64 bit host. 2012-08-18 18:26:25 +00:00
i915_irq.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_reg.h drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
i915_suspend.c
intel_bios.c
intel_bios.h
intel_crt.c drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
intel_display.c Correct atomic operations in i915. 2013-08-28 23:59:38 +00:00
intel_dp.c drm: Move definition of EREMOTEIO to drmP.h 2013-08-24 23:47:31 +00:00
intel_drv.h drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
intel_fb.c Hide syscons-specific workaround under DEV_SC 2014-07-21 16:38:05 +00:00
intel_hdmi.c drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
intel_iic.c Revert r268543. 2014-07-12 06:23:42 +00:00
intel_lvds.c drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
intel_modes.c drm and i915: Left-shift iic_msg.slave at creation time 2013-04-03 08:27:35 +00:00
intel_opregion.c i915 driver - enable opregion handle; program CADL. 2014-08-25 05:03:10 +00:00
intel_overlay.c
intel_panel.c drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
intel_ringbuffer.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
intel_ringbuffer.h drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
intel_sdvo_regs.h
intel_sdvo.c Revert r268543. 2014-07-12 06:23:42 +00:00
intel_sprite.c
intel_tv.c drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00