summaryrefslogtreecommitdiff
path: root/shared
AgeCommit message (Collapse)AuthorFilesLines
2004-08-27__NO_VERSION__ hasn't been needed since 2.3 days ditch it...Dave Airlie7-7/+0
2004-08-26Rearrange things so that via_dma.c will compile with inline via_check_dmaJon Smirl1-51/+45
2004-08-24Merged drmfntbl-0-0-2drmfntbl-0-0-2-20040824-mergeDave Airlie30-128/+140
2004-08-24This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:Erdi Chen7-3/+2215
DRM_IOCTL_VIA_DMA_INIT DRM_IOCTL_VIA_CMDBUFFER DRM_IOCTL_VIA_FLUSH The first ioctl sets up an area in AGP memory that will be used as the ring buffer. The second ioctl copies a command buffer from user space memory to the ring buffer. The third ioctl waits for engine idle until it returns. The motivation for this patch is to avoid the wait for engine idle call before each buffer flush in the current DRI driver. With this patch, the DRI driver can continue to flush its buffer as long as there is free space in the ring buffer. This patch adds an additional copy operation on the command buffer. This buffer copying is necessary to support multiple DRI clients rendering simultaneously. Otherwise, more CPU time will be spent in the busy loop waiting for engine idle between DRI context switch. Even in the single client case, the tradeoff is reasonable in comparision to the kernel call to check for free buffer space for the client to render directly to the ring buffer.
2004-08-23set pointers to NULL after freeing, remove some extra debuggingDave Airlie4-8/+18
2004-08-17Merged drmfntbl-0-0-1drmfntbl-0-0-1-20040817-mergeDave Airlie23-250/+224
2004-08-17preparation patch for radeon permanent mapping registers/framebuffer makesDave Airlie4-58/+131
dev_priv live always, and add AGP detection in kernel patch: radeon-pre-2.patch From: Jon Smirl
2004-08-14Add a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in anEric Anholt6-11/+10
upcoming commit for the SiS driver.
2004-08-13Fix apparent copy'n'paste-o of the card attributes commit that broke theEric Anholt1-2/+2
FreeBSD build.
2004-08-10Patch from Jon Smirl to add attribute field to the pciids, and use this forDave Airlie2-169/+180
certain radeon combinations - intel drivers can probably use this for dual head capable devices etc..
2004-08-02forgot to check these in.. thanks to Jon for reminding me ..Dave Airlie2-2/+2
2004-07-31patch from RH xorg-x11 tree ported to drm.hDave Airlie1-2/+2
2004-07-31fixes for using userspace pointers found by sparse utilityDave Airlie2-3/+3
From: Dave Airlie
2004-07-29initial port of i915 to BSD, not finished doesn't work.. no idea why...Dave Airlie2-7/+18
2004-07-25check for __user if not there define itDave Airlie1-0/+4
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie18-124/+131
2004-07-23Correct a couple of packet length calculations.Keith Whitwell1-1/+8
2004-07-20Add NULLs instead of 0 for i915Dave Airlie1-9/+9
2004-07-15sparse cleanups from kernel: Al ViroDave Airlie3-10/+10
2004-07-05align with kernelDave Airlie1-1/+1
2004-07-05whitespace align with kernelDave Airlie1-2/+2
2004-06-10i915.o drm driverKeith Whitwell7-0/+1782
2004-06-02Added some comments copied from xf86drm.h.Ian Romanick1-5/+5
2004-06-01Replace size_t with an ugly, ugly hack. This was done so that code in theIan Romanick1-4/+21
core X-server would compile. Hopefully, this will soon be replaced with explicitly sized types (i.e., uint32_t) and everyone will be happy.
2004-05-18fix whitespace issue in previous patchRoland Scheidegger1-1/+1
2004-05-18add R200_EMIT_RB3D_BLENDCOLOR state packet to support GL_EXT_blend_color,Roland Scheidegger4-3/+9
GL_EXT_blend_func_separate and GL_EXT_blend_equation_separate on r200
2004-05-14Add PCI id entry for VIA CN400 (UnichromePro) chip. XFree86 bug: ReportedErdi Chen1-0/+1
by: Submitted by: Reviewed by: Obtained from:
2004-05-11Merge from FreeBSD-current. Mostly 64-bit cleanliness fixes, but a fewEric Anholt2-4/+4
driver interface changes from -current.
2004-05-11Add missing DRM_ERR()s.Eric Anholt3-8/+8
2004-05-09Commit sysfs and drm PCI changes for 2.6 kerneldrmpci-0-0-1Dave Airlie4-4/+4
2004-04-26add another tdfxDave Airlie1-2/+6
2004-04-21add new files to generate pci idsDave Airlie1-0/+183
2004-04-21centralise pci ids into one place and use scripts to generate files forDave Airlie7-156/+0
kernel
2004-04-121. Added a PCI ID.Thomas Hellstrom3-10/+9
2. Big change to the XvMC part of the SAREA. OpenGL clients will not suffer from this, and via XvMC is still alpha. Needed to make future additions to XvMC (More decoders and overlays) possible. 3. Bumped version number to 1.3.0.
2004-04-12Add mach64 to the trunkDave Airlie6-0/+3761
2004-04-10white space changes to align with kernelDave Airlie3-20/+20
2004-04-08fix build problemAlan Hourihane1-1/+5
2004-04-08fixes from Linux kernelDave Airlie2-2/+24
2004-03-31VIA module fixes:Thomas Hellstrom1-6/+3
1. Fixed up PCI-id's. 2. Fixed 2.6 warning in kernel Makefile.
2004-03-23Merged via-1-2-0Thomas Hellstrom10-0/+1576
2004-03-12Fixes need to clean up the mess I made with the mesa merge. This codeJon Smirl5-77/+172
allows the mesa drivers to use a single definition of the DRM sarea/IOCTLS located in the drm driver directory. Adjustments were made to the 2D drivers to not include these changes. Changes to the mesa copy of DRM were copied to the DRI copy. XFree86 bug: Reported by: Submitted by: Reviewed by: Obtained from:
2004-02-18Fix sisfb header location for 2.6 kernelsMichel Daenzer1-0/+4
Submitted by: Andrew Morton
2004-01-10Make sure that all state packets are handled inMichel Daenzer1-29/+118
radeon_check_and_fixup_packets() Fix state packet IDs of R200 cubic offsets
2004-01-10R200_PP_CUBIC_OFFSET_F1_[0-6] state packets only contain 5 offsets, not 6Michel Daenzer1-1/+1
(thanks to Andreas Stenglein for spotting this)
2003-12-16Don't ioremap the framebuffer area. The ioremapped area wasn't used bydriinterface-0-0-2-branchEric Anholt6-25/+0
anything, and took up valuable KVA. While I'm in the area, clean up BSD MTRR stuff some more. Suggested by: jonsmirl
2003-12-16Add a collection of Radeon and R128 PCI IDs, including the IGP chipsets.Eric Anholt2-1/+44
Submitted by: Donnie Berkholz <spyderous@gentoo.org> (mostly)
2003-11-05- Tie the DRM to a specific device: setunique no longer succeeds when givenEric Anholt3-3/+3
a busid that doesn't correspond to the device the DRM is attached to. This is a breaking of backwards-compatibility only for the multiple-DRI-head case with X Servers that don't use interface 1.1. - Move irq_busid to drm_irq.h and make it only return the IRQ for the current device. Retains compatibility with previous X Servers, cleans up unnecessary code. This means no irq_busid on !__HAVE_IRQ, but can be changed if necessary. - Bump interface version to 1.2. This version when set signifies that the control ioctl should ignore the irq number passed in and enable the interrupt handler for the attached device. Otherwise it errors out when the passed-in irq is not equal to the device's. - Store the highest version the interface has been set to in the device. - Fix a recursion on DRM_LOCK in irq_uninstall on FreeBSD. This leaves irq_uninstall being done without the lock in some cases, but it was racey anyways.
2003-11-05Use int64_t instead of s64 -- fixes FreeBSD compile, works on linux.Eric Anholt1-1/+1
2003-11-05__linux__ is spelled with a lowercase 'l'Eric Anholt1-1/+1
2003-11-05Repo-copy linux/drm/kernel/drm.h to shared/drm/kernel/drm.h and use it onEric Anholt1-1/+2
both Linux and *BSD.