summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/radeon_drv.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r258779,r258780,r258787,r258822:eadler2014-02-041-17/+17
| | | | | | | | | | | | | Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. Similar to the (1 << 31) case it is not defined to do (2 << 30). This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD.
* radeon_family is an enum, so ordering can be important.rnoland2009-09-281-2/+2
| | | | | | sync up with what amd is shipping. MFC after: 1 week
* Add GET_PARAM support for Z pipes.rnoland2009-08-231-1/+5
| | | | | | This is needed for occulsion queries on rv530 chips. MFC after: 2 weeks
* Add kernel support for Radeon R6/7xx 3D.rnoland2009-08-231-13/+101
| | | | | | | You will still need Mesa from git and possibly an updated DDX driver, but this is working fairly well now. MFC after: 2 weeks
* Add support for radeon RS880 IGP chips to drm.rnoland2009-08-121-0/+1
| | | | | Approved by: re (kib) MFC after: 0 days
* Add support for Radeon HD 4770 (RV740) chips.rnoland2009-07-091-0/+1
| | | | | Approved by: re@ (kib) MFC after: 3 days
* Add regs required for occlusion queries supportrnoland2009-04-071-1/+0
| | | | | Submitted by: Maciej Cencora <m.cencora@gmail.com> MFC after: 3 days
* Import support for ATI Radeon R600 and R700 series chips.rnoland2009-03-071-127/+689
| | | | | | | | | | | | | | Tested on an HD3850 (RV670) on loan from Warren Block. Currently, you need one of the following for this to be useful: x11-drivers/xf86-video-radeonhd-devel (not tested) xf86-video-ati from git (EXA works, xv is too fast) xf86-video-radeonhd from git (EXA works, xv works) There is no 3d support available from dri just yet. MFC after: 2 weeks
* Fix some fallout from the busmaster disable cleanuprnoland2008-10-271-5/+5
| | | | | | | rs400 is just like rs480 Approved by: jhb (mentor) Obtained from: drm git
* Several of the newer radeon cards have moved around the registers for enablingrnoland2008-10-131-0/+25
| | | | | | | | busmastering support. This also adds register definitions for MSI support, which we will be using shortly. Approved by: jhb (mentor) Obtained from: drm git master
* Add support for Radeon rs740 (HD 2100)rnoland2008-10-131-1/+3
| | | | | Approved by: jhb (mentor) Obtained from: drm git master
* Update drm kernel drivers.rnoland2008-08-231-93/+369
| | | | | | | | | | 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
* Merge from DRM upstream:anholt2006-09-071-7/+20
| | | | | | | - Add support for Intel 965 Express chipsets. - Add support for R200 vertex programs, along with minor bugfixes. - Add support for vblank synchronization to pipe B of Intel hardware (laptop screens).
* Update to DRM CVS as of 2006-04-09. The most notable new feature is the updatedanholt2006-04-091-17/+40
| | | | | | | Radeon memmap code, which with a new DDX driver and DRI drivers should fix long-term stability issues with Radeons. Also adds support for r200's ATI_fragment_shader, r300 texrect support and texture caching fixes, i915 vblank support and bugfixes, and new PCI IDs.
* Update DRM to CVS snapshot as of 2005-11-28. Notable changes:anholt2005-11-281-29/+65
| | | | | | | | | | | | | - 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.
* Add the latest r300 code from r300.sf.net. This is based on the patch suppliedanholt2005-07-201-0/+50
| | | | | | by Vladimir Dergachev for inclusion in DRM CVS, with minor modifications for FreeBSD CVS and the appropriate license from Nicolai Haehnle on r300_reg.h. Fixes hangs when using r300.sf.net userland, tested on a Radeon 9600 on amd64.
* Update to DRM CVS as of 2005-04-12, bringing many changes:anholt2005-04-161-98/+233
| | | | | | | | | | | | | | | | | | | | - 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
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-2/+2
|
* Merge from DRI CVS as of 2004-05-26. Most of the meat is new PCI IDs and a newanholt2004-06-111-0/+1
| | | | packet for Radeon.
* Merge from DRI CVS. No longer maps the framebuffer into KVA on radeon, r128,anholt2004-01-061-1/+0
| | | | and mga. MTRR code cleanups. Includes new Radeon and Rage 128 PCI IDs.
* Update from DRI CVS. Includes locking fixes (including PR 59202), changes foranholt2003-11-121-0/+5
| | | | | | Radeon IGP support (still lacking PCI IDs), and DRM interface 1.2 updates which include finally tying the DRM instances to specific devices rather than relying on the X Server.
* Merge from DRI CVS. Includes newly ported SiS 300/305/540/630/730 driver andanholt2003-09-091-6/+6
| | | | | | updates to allow system memory to be used for textures on PCI Radeons. Sponsored by: LinuxFund
* Update DRM from DRI CVS as of today. Notable changes include Radeonanholt2003-08-191-1/+7
| | | | | suspend/resume support and Rage 128 pageflipping support (both of which require XFree86 from CVS), along with miscellaneous cleanups.
* Update the DRM to the latest from DRI CVS. Includes some bugfixes and removalanholt2003-04-251-19/+14
| | | | | | of the infrastructure for the gamma driver which was removed a while back. The DRM_LINUX option is removed because the handler is now provided by the linux compat code itself.
* Update the DRM to latest from DRI CVS. This is approximately the versionanholt2003-03-091-134/+300
| | | | | | | 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.
* Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__anholt2002-05-311-7/+7
| | | | Approved by: des
* Diff reduction to my experimental code: clean up return code handling.anholt2002-04-291-2/+2
| | | | Approved by: des
* Add the code for the DRM, based on the code from the drm-kmod port.anholt2002-04-271-0/+741
This is not hooked up yet, that will come later. Approved by: des
OpenPOWER on IntegriCloud