freebsd-nq/sys/dev/drm
Robert Noland 9c03c0d88c Rework how drm maps are handled.
* On 32 bit platforms we steal the upper 4 bits of the map handle
   to store a unique map id.
 * On 64 bit platforms we steal the upper 24 bits.

Resolves issues where the offsets that are handed to mmap may overlap the VRAM on some cards.

Tested on: radeon, intel, mga, and via.

This will break nouveau.  I will spin new patches shortly.
2010-04-22 18:21:25 +00:00
..
ati_pcigart.c The GART allocations are a propery of the gart, not of scatter-gather 2009-03-25 01:41:56 +00:00
drm_agpsupport.c
drm_atomic.h
drm_auth.c
drm_bufs.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_context.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_dma.c
drm_drawable.c
drm_drv.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_fops.c Clean up the handling of device minors 2009-08-23 14:31:20 +00:00
drm_hashtab.c Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_hashtab.h Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_internal.h
drm_ioctl.c
drm_irq.c Keep track of the hardware counter more aggressively while interrupts 2009-06-25 15:47:32 +00:00
drm_linux_list.h Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_lock.c Add some debugging so I can see when syscalls are being restarted 2009-03-19 08:36:08 +00:00
drm_memory.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_mm.c Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_mm.h Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_pci.c We don't know what these pages are going to be used for, they should be 2009-03-30 18:01:42 +00:00
drm_pciids.h Add support for Intel Pineview chips, aka IGD 2010-03-13 11:51:18 +00:00
drm_sarea.h
drm_scatter.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_sman.c Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_sman.h Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
drm_sysctl.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm_vm.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
drm-preprocess.sh
drm-subprocess.pl
drm.h
drmP.h Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
i915_dma.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
i915_drm.h
i915_drv.c Import simple drm memory manager. 2010-01-31 14:25:29 +00:00
i915_drv.h Fix build after typo. 2010-03-13 18:14:51 +00:00
i915_irq.c Some more cleanups for vblank code on Intel. 2009-06-25 18:27:08 +00:00
i915_mem.c
i915_reg.h Add support for Intel Pineview chips, aka IGD 2010-03-13 11:51:18 +00:00
i915_suspend.c Fix what appears to be a typo, and restore the registers correctly. 2009-03-20 17:51:26 +00:00
mach64_dma.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
mach64_drm.h
mach64_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
mach64_drv.h Initialize the vblank structures at load time. Previously we did this 2009-02-28 02:37:55 +00:00
mach64_irq.c Initialize the vblank structures at load time. Previously we did this 2009-02-28 02:37:55 +00:00
mach64_state.c Check pointer for NULL before dereferencing it, not after. 2009-10-21 15:54:45 +00:00
mga_dma.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
mga_drm.h
mga_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
mga_drv.h
mga_irq.c Add some debugging so I can see when syscalls are being restarted 2009-03-19 08:36:08 +00:00
mga_state.c
mga_ucode.h
mga_warp.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
r128_cce.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
r128_drm.h
r128_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
r128_drv.h Initialize the vblank structures at load time. Previously we did this 2009-02-28 02:37:55 +00:00
r128_irq.c Initialize the vblank structures at load time. Previously we did this 2009-02-28 02:37:55 +00:00
r128_state.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
r300_cmdbuf.c check offsets for R300_ZB_ZPASS_ADDR 2009-04-07 22:26:53 +00:00
r300_reg.h Add regs required for occlusion queries support 2009-04-07 22:20:58 +00:00
r600_blit.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
r600_cp.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
r600_microcode.h Import support for ATI Radeon R600 and R700 series chips. 2009-03-07 21:36:57 +00:00
radeon_cp.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
radeon_cs.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
radeon_drm.h Add GET_PARAM support for Z pipes. 2009-08-23 15:02:58 +00:00
radeon_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
radeon_drv.h radeon_family is an enum, so ordering can be important. 2009-09-28 22:40:29 +00:00
radeon_irq.c R600 doesn't support IRQs yet, so don't try to use them. 2009-09-28 22:37:07 +00:00
radeon_mem.c
radeon_microcode.h
radeon_state.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
savage_bci.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
savage_drm.h
savage_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
savage_drv.h
savage_state.c
sis_drm.h
sis_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
sis_drv.h
sis_ds.c
sis_ds.h
sis_mm.c
tdfx_drv.c Consistently use kdev for the kernel device. 2009-03-09 07:55:18 +00:00
tdfx_drv.h
via_3d_reg.h Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_dma.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
via_dmablit.c Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_dmablit.h Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_drm.h Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_drv.c Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_drv.h Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_irq.c Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_map.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
via_mm.c Rework how drm maps are handled. 2010-04-22 18:21:25 +00:00
via_verifier.c Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_verifier.h Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00
via_video.c Welcome drm support for VIA unichrome chips. 2010-01-31 14:30:39 +00:00