NetBSD/sys/external/bsd/drm/dist/bsd-core
bjs 8151294949 - for DRM_NETBSD_HANDLE2ADDR/ADDR2HANDLE, do what uvm does to recover
the virtual address from a uoffset, e.g. uoffset + vm_map_min(kernel_map).

- Eliminate the bus_space_read/write-based DRM_READ/WRITE macros.  The
  memory we're reading/writing from is not always allocated with bus_space,
  and so this will not do.  Instead, since all of our bus_space maps are
  linear, volatile pointer dereferences will do just fine.

- Unify members of struct drm_dma_handle amongst freebsd and netbsd:
  the 'addr' member was superfluous; also, set dmah->tag from
  dev->pa.pa_dmat and use that.

- we don't need BUS_DMA_ALLOCNOW, as bus_dmamap_load is called immediately
  following bus_dmamap_create(), so there's no need to avoid deferring
  allocation to load time.

- Add check for nsegs != 1 in drm_pci_alloc().

- We don't need the DRM_PCI_DMAADDR macro right now--it was only
  used once.
2008-07-25 06:54:33 +00:00
..
drm pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
i915 pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
mach64 pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
mga pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
r128 pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
radeon pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
savage pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
sis pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
tdfx pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
via pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
ati_pcigart.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_agpsupport.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_atomic.h XXX: remove the (volatile uint32_t *) cast from atomic_read() macro for now. 2008-07-19 07:03:07 +00:00
drm_auth.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_bufs.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_context.c
drm_dma.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_drawable.c Implement drm_drawable gunk and drm_locked_task, untested. i915drm links now. 2008-07-19 14:15:11 +00:00
drm_drv.c Remove #ifdef __FreeBSD__ around DRM_UPDATE_DRAW ioctl, as we have drawable 2008-07-21 07:18:11 +00:00
drm_fops.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_ioctl.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_irq.c in the git sources, timo is jiffies + 5*DRM_HZ, not 5*DRM_HZ 2008-07-25 06:37:40 +00:00
drm_linux_list.h
drm_lock.c merge cornflakes from git-change-04893aa99abfbed8eb6d7067a974fa1f31193c87. 2008-07-19 22:10:09 +00:00
drm_memory.c Pull in agp_i810.h so the agp borrow hack works on i915drm. 2008-07-19 20:08:39 +00:00
drm_pci.c - for DRM_NETBSD_HANDLE2ADDR/ADDR2HANDLE, do what uvm does to recover 2008-07-25 06:54:33 +00:00
drm_pciids.h
drm_scatter.c
drm_sysctl.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drm_vm.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
drmP.h - for DRM_NETBSD_HANDLE2ADDR/ADDR2HANDLE, do what uvm does to recover 2008-07-25 06:54:33 +00:00
i915_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
mach64_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
Makefile
mga_drv.c XXX: always return DRM_MIGHT_BE_AGP for now -- need to implement the 2008-07-19 07:02:15 +00:00
r128_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
radeon_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
savage_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
sis_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
tdfx_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00
via_drv.c pull over many many changes from netbsd-current sys/dev/{,pci/}drm/. 2008-07-19 06:18:23 +00:00