[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/11/28 16:37:35

Modified files:
	sys/arch/i386/conf: GENERIC 
	sys/arch/i386/i386: conf.c 
	sys/conf       : files 
	sys/dev/pci    : agp_i810.c vga_pci.c 
	sys/sys        : conf.h malloc.h 
Added files:
	sys/dev/pci/drm: ati_pcigart.c drm_agpsupport.c drm_auth.c 
	                 drm_bufs.c drm_context.c drm_dma.c 
	                 drm_drawable.c drm_drv.c drm_fops.c drm_ioctl.c 
	                 drm_irq.c drm_lock.c drm_memory.c drm_pci.c 
	                 drm_scatter.c drm_sysctl.c drm_vm.c i915_dma.c 
	                 i915_drv.c i915_irq.c i915_mem.c mach64_dma.c 
	                 mach64_drv.c mach64_irq.c mach64_state.c 
	                 mga_dma.c mga_drv.c mga_irq.c mga_state.c 
	                 mga_warp.c r128_cce.c r128_drv.c r128_irq.c 
	                 r128_state.c r300_cmdbuf.c radeon_cp.c 
	                 radeon_drv.c radeon_irq.c radeon_mem.c 
	                 radeon_state.c savage_bci.c savage_drv.c 
	                 savage_state.c sis_drv.c sis_ds.c sis_mm.c 
	                 tdfx_drv.c via_dma.c via_drv.c via_ds.c 
	                 via_irq.c via_map.c via_mm.c via_verifier.c 
	                 via_video.c drm.h drmP.h drm_atomic.h 
	                 drm_linux_list.h drm_pciids.h drm_sarea.h 
	                 i915_drm.h i915_drv.h mach64_drm.h mach64_drv.h 
	                 mga_drm.h mga_drv.h mga_ucode.h r128_drm.h 
	                 r128_drv.h r300_reg.h radeon_drm.h radeon_drv.h 
	                 savage_drm.h savage_drv.h sis_drm.h sis_drv.h 
	                 sis_ds.h tdfx_drv.h via_3d_reg.h via_drm.h 
	                 via_drv.h via_ds.h via_mm.h via_verifier.h 

Log message:
Initial import of the DRM (direct rendering manager).

This is the kernel part necessary for DRI support in X. Disabled for now
because it still has a few bugs, but now I can work on it in tree. Also
requires the requisite bits in X, which are currently under discussion
on how to deal with them with privsep. ported from a combination of the
free and netbsd implementations.

Known bugs:
1) only the first occurence of X in any session will have dri, after
that something prevents it working.
2) if the machine does not have a dri capable card, the kernel panics.
Something's up in one of the probe functions. I haven't been able to
find it though.
3) radeon cards need to be forced to use PCI mode otherwise they get
into an infinite loop.

This is known to at least kinda work with SiS, radeons in pci mode and
intel cards.

ok deraadt, kinda ok art, a few other people had a quick look.