CVSROOT:        /cvs
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008/11/22 15:43:53

Modified files:
        sys/dev/pci/drm: drmP.h drm_bufs.c drm_drv.c drm_memory.c 
                         i915_drv.c mach64_dma.c mach64_drv.c 
                         mach64_drv.h mga_dma.c mga_drv.c mga_drv.h 
                         r128_cce.c r128_drv.c r128_drv.h radeon_cp.c 
                         radeon_drv.c radeon_drv.h radeon_state.c 
                         savage_bci.c savage_drv.c savage_drv.h 
                         sis_drv.c tdfx_drv.c 

Log message:
Make all drm drivers map their mmio register space on attach instead of
using the drm_maps interface (this was done for inteldrm a few days
ago).  All drivers now ignore the mmio_offset argument that the init
ioctl takes.

This clears up the code and makes sure that drm_ioremap_core() doesn't
need the vga_pci_map inteface anymore, so we don't have to pass in the
vga softc anymore. We also get to kill the drm_resource_{start,length}
linux-alike functions since we just calculate all the requisite offsets
at startup and cache those we need. This now means that technically the
only driver that needs the vga_pci_map api is inteldrm (due to sharing
with intagp issues), though this diff doesn't convert them over.

Reply via email to