freebsd-nq/sys/dev/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
..
i915 drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
radeon drm/radeon: Fix a memory leak when radeonkms is unloaded 2014-08-28 12:40:31 +00:00
ttm drm: fix usage of vm_phys_fictitious_to_vm_page 2014-08-06 17:45:59 +00:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic.h
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c
drm_context.c
drm_core.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_crtc.c
drm_crtc.h
drm_dma.c
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c Revert r268543. 2014-07-12 06:23:42 +00:00
drm_drawable.c
drm_drv.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
drm_edid_modes.h
drm_edid.c Revert r268543. 2014-07-12 06:23:42 +00:00
drm_edid.h
drm_fb_helper.c drm: Don't "taskqueue" vt-switch if under DDB/panic situation 2014-08-27 10:07:08 +00:00
drm_fb_helper.h
drm_fixed.h
drm_fops.c
drm_fourcc.h
drm_gem_names.c drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
drm_gem_names.h drm/i915: Add HW context support 2014-09-17 08:28:50 +00:00
drm_gem.c
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list_sort.c
drm_linux_list.h
drm_lock.c
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.h
drm_pci.c Add missing calls to bus_dmamap_unload() when freeing static DMA 2014-06-13 18:20:44 +00:00
drm_pciids.h
drm_sarea.h Remove ia64. 2014-07-07 00:27:09 +00:00
drm_scatter.c
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysctl.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
drm_vm.c
drm.h Remove ia64. 2014-07-07 00:27:09 +00:00
drmP.h