summaryrefslogtreecommitdiff
path: root/libdrm
AgeCommit message (Collapse)Author
2005-01-17Add xf86drm.h to the install target.Adam Jackson
2005-01-16Shared libdrm work:Adam Jackson
- create libdrm.so target - build it by default - drop xf86drmCompat.c from the build - make 'clean' target never fail - use pattern rules for .c -> .o for parallelism - add 'install' target
2005-01-16The patch makes drmAddBufs/drmMapBufs can handle buffers in video memoryDave Airlie
The attached patch adds a new buffer type DRM_FB_BUFFER. It works like AGP memory but uses video memory. From: austinyuan@viatech.com.cn (fd.o bug 1668) Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-01-01Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It usesFelix Kuehling
drm_pci_alloc/free for allocating/freeing the memory. Only implemented in the Linux DRM so far.
2004-11-07respect cc and cflagsDave Airlie
2004-09-17Makefile and missing file to build libxf86drm.aJon Smirl
2004-08-11Bug #979: Don't include <sys/sysmacros.h> on linux, it occasionally emitsAdam Jackson
makedev() as a function call that elfloader can't resolve. Originally Gentoo Bug #41962, reported by Ryan Breen, fix feedback from Ryan Lortie.
2004-07-31Patch picked up from Redhat xorg release:Dave Airlie
Patch by John Dennis <jdennis@redhat.com> which fixes DRI locking bug on ia64 architecture. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104338 http://bugs.xfree86.org/show_bug.cgi?id=778
2004-07-07Make drm/libdrm/xf86drm.c matchJon Smirl
xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c so that it matches the prototypes in xf86drm.h XFree86 bug: Reported by: Submitted by: Reviewed by: Obtained from:
2004-07-07Add xf86drm.h back to drm/libdrm until it's true home can be found.Jon Smirl
mesa-solo needs this file to build. XFree86 bug: Reported by: Submitted by: Reviewed by: Obtained from:
2003-11-04build fixMichel Daenzer
2003-10-23- Introduce a new ioctl, DRM_IOCTL_SET_VERSION. This ioctl allows theEric Anholt
server or client to notify the DRM that it expects a certain version of the device dependent or device independent interface. If the major doesn't match or minor is too large, EINVAL is returned. A major of -1 means that the requestor doesn't care about that portion of the interface. The ioctl returns the actual versions in the same struct. - Introduce DRM DI interface version 1.1. If the server requests version 1.1, then the DRM sets the unique itself according to the busid of the device it probed, which may then be accessed as normal using getunique. - Request version 1.1 in libdrm's drmOpenByBusID, allowing the X Server to request based on a BusID. Introduce a wrapper for DRM_IOCTL_SET_VERSION and bump libdrm minor version. - Pass the busid in DRIScreenInit if libdrm can handle both a busid and name. This allows drmOpenByBusID to be used to find the DRM instead of just the driver name, which allows us in the future to tie a DRM more strongly to the device it probed to. Introduce a function DRICreatePCIBusID which creates a busid in the form pci:oooo:bb:dd.f similar to linux's pci_name() function. This matches the format used by the DRM in version 1.1. libdrm knows how to match both this format and the old PCI:b:d:f format. - Use the new DRICreatePCIBusID function in the *_dri.c to request the new, more exact busid format.
2003-09-24post merge fixAlan Hourihane
2003-09-13compatibility layer still uses agp (not gart)Alan Hourihane
2003-09-12linux drm fixesAlan Hourihane
2003-08-29Update to reflect renaming of SIS ioctls.Eric Anholt
2003-08-26Rename agp to gart for radeonMichel Daenzer
2003-05-27Merged DRM documentation.Jose Fonseca
2003-04-23deal correctly with read() from the DRM failingMichel Daenzer
2003-03-25linux merge for drmAlan Hourihane
2003-03-25XFree86 4.3.0 mergeAlan Hourihane
2003-02-21Merge from bsd-4-0-0-branch.Eric Anholt
2003-02-02don't inflate relative vblank sequence numbers on repeated calls (e.g. whenMichel Daenzer
interrupted by a signal)
2002-11-25added missing return fd (Alexander Stohr)Brian Paul
2002-10-22final part of XFree86 4.2.99.2 mergeAlan Hourihane
2002-09-25common ioctl to wait for vertical blank IRQsMichel Daenzer
2002-08-30Remove compat functions for FreeBSD for drivers which weren't available inEric Anholt
X4.2
2002-08-08Try to open the /dev/dri/cardX device once, then only if it fails check theEric Anholt
device number and recreate it if necessary. Fixes xf86drm.c to allow linux binaries to be used for emulation on FreeBSD.
2002-07-05merged bsd-3-0-0-branchAlan Hourihane
2002-04-09Merged drmcommand-0-0-1Jens Owen
2002-01-27First pass merge of XFree86 4.2.0 import.David Dawes
2001-08-25- Remove the rest of the unneeded client-side libraries.David Dawes
- Use installed libraries that are not built here. - Don't build/install client-library related file and headers.
2001-08-22First part of XFree86 4.1.99.1 merge.David Dawes
2001-07-30Merge the multihead-1-0-0 branch into the trunk, with the exception of theDavid Dawes
glide header files. The changes include: - Brian Paul's changes to the tdfx client-side 3D driver to make it dlopen() the correct glide library (Voodoo3 or Voodoo5). This allows both types of the glide library to co-exist, and allows Voodoo3/Voodoo5 cards to be mixed in multi-head configs. - DRM kernel driver changes to allow a driver to set up multiple instances (minor numbers), one for each card present that the driver supports. This is currently implemented and tested only for the tdfx DRM driver. - Add some missing missing <stdarg.h> includes. - Some log message cleanups. - Change the 2D tdfx driver to access VGA legacy registers via their PCI I/O space access points rather than their legacy addresses, and fix some problems with the way the VGA-related bits are initialised. Status: - With these changes, multi-head direct rendering works with multiple Voodoo3 and/or Voodoo5 cards. This has been tested with two PCI Voodoo3 cards and an AGP Voodoo5 card, and all permutations of those. Caveats: - Xinerama is not supported. If Xinerama is enabled, then direct rendering gets disabled. - The text mode on secondary screens will show junk after the X server exits. - On some hardware, starting the X server on multiple 3dfx cards will result in a hard lockup. One workaround is to enable APIC support in a uni-processor kernel, or use an SMP kernel.
2001-07-20Remove module name hacks because we aren't going to implement this anymoreJeff Hartmann
because of Linus' comments
2001-07-18Add module version name at a lower layer of the code, allows things to beJeff Hartmann
more flexible and allow older module versions to still work. Might not be final code if we move over to DRI kernel module version, but will be if we use XFree86 version. + Only build tdfx.o instead of tdfx-4_1_0.o since tdfx.o has never changed its API.
2001-06-14First pass of 4.1.0 merge.David Dawes
2001-05-14finish struct stat type cleanup Fix a build dependencies for the tdfx drmDavid Dawes
module
2001-05-04add some commented enclosures around the BUS_BASE calls for AlphaAlan Hourihane
platforms.
2001-05-01Initial merge for XFree86 4.0.99.3 importDavid Dawes
2001-04-30- PCIGART patches for Alpha from CompaqKevin E Martin
2001-04-18put back BUS_BASEDavid Dawes
2001-04-09First pass of XFree86 4.0.99.2 merge.David Dawes
2001-04-05Merged ati-pcigart-1-0-0Kevin E Martin
2001-03-30- Move xf86ConfigDRI declaration from xf86Priv.h to xf86.h.David Dawes
- Don't include xf86Priv.h in the drm module. - Fix 'struct stat' in loader libc wrapping to avoid unnecessary XFree86LOADER #ifdefs in code that uses it. - Make drmOpenMinor() static.
2001-03-14Merged sarea-1-0-0Kevin E Martin
2001-03-13Rest of MGA dualhead patch.Gareth Hughes
2001-02-28Implement drmOpen* without /proc dependence (Fallback to /proc is includedRik Faith
for backward compatibility.) Move statistic-gathering drm* calls from dristat.c to xf86drm.c
2001-02-15Merge mga-1-0-0-branch into trunk.Gareth Hughes
2000-11-08merge with 4.0.1dDavid Dawes