aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm/mga_warp.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework how drm maps are handled.Robert Noland2010-04-221-2/+2
| | | | | | | | | | | | | | | * 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. Notes: svn path=/head/; revision=207066
* Update drm kernel drivers.Robert Noland2008-08-231-4/+4
| | | | | | | | | | | | | This is a sync to mesa/drm pre-gem, with a few fixes on top of that. It also contains one local patch supplied by kib@ that I can't apply to git.master shared code. Approved by: flz Obtained from: mesa/drm git.master MFC after: 2 weeks Notes: svn path=/head/; revision=182080
* Update DRM to CVS snapshot as of 2005-11-28. Notable changes:Eric Anholt2005-11-281-38/+32
| | | | | | | | | | | | | | | | - S3 Savage driver ported. - Added support for ATI_fragment_shader registers for r200. - Improved r300 support, needed for latest r300 DRI driver. - (possibly) r300 PCIE support, needs X.Org server from CVS. - Added support for PCI Matrox cards. - Software fallbacks fixed for Rage 128, which used to render badly or hang. - Some issues reported by WITNESS are fixed. - i915 module Makefile added, as the driver may now be working, but is untested. - Added scripts for copying and preprocessing DRM CVS for inclusion in the kernel. Thanks to Daniel Stone for getting me started on that. Notes: svn path=/head/; revision=152909
* Update to DRM CVS as of 2005-04-12, bringing many changes:Eric Anholt2005-04-161-92/+86
| | | | | | | | | | | | | | | | | | | | | | | - Split core DRM routines back into their own module, rather than using the nasty templated system like before. - Development-class R300 support in radeon driver (requires userland pieces, of course). - Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others. - i915 driver files, which just need to get drm_drv.c fixed to allow attachment to the drmsub device. Covers i830 through i915 integrated graphics. - savage driver files, which should require minimal changes to work. Covers the Savage3D, Savage IX/MX, Savage 4, ProSavage. - Support for color and texture tiling and HyperZ features of Radeon. Thanks to: scottl (much p4 handholding) Jung-uk Kim (helpful prodding) PR: [1] kern/76879, [2] kern/72548 Submitted by: [1] Alex, lesha at intercaf dot ru [2] Shaun Jurrens, shaun at shamz dot net Notes: svn path=/head/; revision=145132
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-061-2/+2
| | | | Notes: svn path=/head/; revision=139749
* Update DRM from DRI CVS as of today. Notable changes include RadeonEric Anholt2003-08-191-1/+0
| | | | | | | | suspend/resume support and Rage 128 pageflipping support (both of which require XFree86 from CVS), along with miscellaneous cleanups. Notes: svn path=/head/; revision=119098
* Update the DRM to latest from DRI CVS. This is approximately the versionEric Anholt2003-03-091-5/+6
| | | | | | | | | | included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users. Notes: svn path=/head/; revision=112015
* More diff reduction: Shuffle around some header code as was done inEric Anholt2002-04-291-0/+1
| | | | | | | | | | drmcommand-0-0-1-branch of DRI CVS, more return code cleanup, and remove some gratuitous ifdefs. Approved by: des Notes: svn path=/head/; revision=95746
* Diff reduction to my experimental code: clean up return code handling.Eric Anholt2002-04-291-5/+5
| | | | | | | Approved by: des Notes: svn path=/head/; revision=95693
* Add the code for the DRM, based on the code from the drm-kmod port.Eric Anholt2002-04-271-0/+212
This is not hooked up yet, that will come later. Approved by: des Notes: svn path=/head/; revision=95584