Commit Graph

596 Commits (22608a414d7b7ef32ca51b9123be8341ddd5e8ce)

Author SHA1 Message Date
Leif Delgass 22608a414d Only mga, i810, i830 require AGP (should mga define __MUST_HAVE_AGP?) 2003-04-22 19:42:27 +00:00
Alan Hourihane 879e3d335c change PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as per
the other drivers
2003-04-22 12:52:17 +00:00
Alan Hourihane 9c5d16216d remove unused variable 2003-04-22 12:42:22 +00:00
Alan Hourihane 0782f0df60 fix gamma headers 2003-04-22 12:41:16 +00:00
Keith Whitwell 73e20998b4 Rename drm_lists.h to gamma_lists.h 2003-04-22 12:14:59 +00:00
Keith Whitwell 700e880c3d new file 2003-04-22 12:07:43 +00:00
Keith Whitwell 928c25d14f Move the excitingly named DRM(flush_block_and_flush) and friends to
gamma-specific code.
Fix templates so i8x0 drivers don't have to define __HAVE_DMA_WAITLIST.
2003-04-22 12:07:24 +00:00
Keith Whitwell aba6bf7eb3 remove unused __HAVE_KERNEL_CTX_SWITCH code 2003-04-22 11:39:34 +00:00
Keith Whitwell a1780925fb Move a chunk of gamma-specific code out of drm_dma.h. Remove unused
'DRM_FLAG_NOCTX' option.
2003-04-22 11:31:55 +00:00
Keith Whitwell 056762a910 remove unused dma histogram code 2003-04-22 10:18:29 +00:00
Keith Whitwell 5141da97f6 Move a bunch of gamma-specific code into a gamma-specific file. Restore the
kooky DRM(write_string) code for gamma.
2003-04-22 10:13:14 +00:00
Keith Whitwell 13211ad82c add more get_param queries for embedded project 2003-04-22 09:49:14 +00:00
Keith Whitwell fc4fb6b51b remove DRM read, poll and write_string 2003-04-22 08:06:14 +00:00
Leif Delgass 46e06192a8 Check for NULL map before calling DRM(ioremapfree) on cleanup. Prevents an
oops if a map wasn't found (e.g. XFree86 Bugzilla #108)
2003-04-21 16:07:17 +00:00
David Dawes da35a90d99 Add a Kconfig file as used in recent 2.5.x kernels. 2003-04-17 18:52:05 +00:00
David Dawes 21af320287 Make Config.in look more like a recent 2.4.x kernel version. 2003-04-17 18:48:06 +00:00
David Dawes dbb7beb51d Rework the Linux drm kernel module build to leverage off the standard
kernel build system. This is based on suggestions and examples from
    David Woodhouse. This approach has the advantage that the build
    requirements of a wider range of standard kernels are now supported
    transparently, but the disadvantage of some extra complexity to handle
    building against clean vendor-distributed kernel source trees. This has
    been tested with some recent Red Hat and SuSE distributions.
2003-04-17 18:44:38 +00:00
David Dawes c2d7ff1bf9 Bring some drm module changes over from the XFree86 trunk:
- Reset 'bound' flag for an agp entry after undbind succeeded in
    drm_agpsupport.h (Egbert Eich).
- Ignore hw_lock for drm device if lock was set by a different instance (ie
    Xserver) to prevent second server from spinning in driver release
    function (currently only relevant for i8xx drm drivers) (David Dawes).
- Use the agpgart "key" for the unique handle for bindings rather than the
    memory address (the key is guaranteed to be unique) (David Dawes).
2003-04-17 18:41:28 +00:00
David Dawes d1b7f551e6 Fix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue). 2003-04-17 15:27:34 +00:00
Jose Fonseca 48e389f3a5 file drm_pci.h was initially added on branch mach64-0-0-5-branch. 2003-04-10 14:58:53 +00:00
Eric Anholt 244d4faa1d file mach64_drv.c was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:43:29 +00:00
Eric Anholt 353c84d2dd file Makefile was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:23:49 +00:00
Eric Anholt 12a52fd826 file drm_linux_list.h was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:09:47 +00:00
Leif Delgass 10444e06d4 Use list_entry() to get container struct from struct list_head pointers.
Build fix for RedHat 9 kernel (5 args to remap_page_range()).
2003-04-08 01:30:43 +00:00
Leif Delgass 3f7769921b add 'SG' map type identifier string (pci scatter/gather) to /proc vm info 2003-04-05 19:49:16 +00:00
Eric Anholt 6f88a5351c Whitespace and remove a dead commented line. 2003-04-01 18:53:24 +00:00
Leif Delgass 8e51112fe0 Warning fix (use %p format for filp) 2003-03-31 04:14:35 +00:00
Eric Anholt 8926acac37 Spelling fixes in comments.
Submitted by: Linus Torvalds <torvalds@transmeta.com>
2003-03-30 07:23:03 +00:00
Eric Anholt aea0418d0d Remove dead vma code and remove the unused devstate struct definition. 2003-03-29 18:22:28 +00:00
Eric Anholt 6ef79263b6 Add DRMFILE definitions and supply filp for BSD in the
post-drm-filp-0-1-branch world. The filp is a void * cast from the
    current pid. This is a temporary solution which maintains the status
    quo until a proper solution is implemented.
What is really needed is a unique pointer per open, hopefully with a device
    private area. This can be done in FreeBSD for all entry points except
    mmap, but is difficult (sys/dev/streams/streams.c is an example). I
    have partially completed code for this but have not had time to debug,
    so this is a temporary fix.
2003-03-29 03:38:47 +00:00
Eric Anholt e27d2f8c7c buf->filp is a pointer, so make printf format args be %p not %d 2003-03-29 03:30:21 +00:00
Keith Whitwell 1728bc637d merged drm-filp-0-1-branch 2003-03-28 14:27:37 +00:00
Keith Whitwell 37cb114bd9 Add 2nd arg for DRM_FREE 2003-03-26 16:37:47 +00:00
Alan Hourihane b3eb34e0ea linux merge for drm 2003-03-25 11:36:43 +00:00
Alan Hourihane c14006ba9f XFree86 4.3.0 merge 2003-03-25 00:29:14 +00:00
Eric Anholt 0bd0dd2300 Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future
merging. Also includes an update to radeon PCI IDs.
2003-03-11 20:51:28 +00:00
Eric Anholt 638d45d2a0 Make dma_addr_t an unsigned long not a uint32, don't try to use memrange
functions on FreeBSD non-x86, and remove a dead define.
2003-03-08 05:05:41 +00:00
Eric Anholt bf4b8ba753 Remove the vbl signal code because it's untested (and has lock issues on
-current).
2003-03-06 19:21:23 +00:00
Eric Anholt a01d26f39d Put cdevsw initialization in line with FreeBSD-current. (From r1.10,r1.11
of FreeBSD CVS)
2003-03-05 06:06:27 +00:00
Eric Anholt 3f786dbd18 Update mmap handling for FreeBSD-current (Based on r1.3 of FreeBSD CVS). 2003-03-05 06:04:50 +00:00
Eric Anholt 1434bfe4a8 Remove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
atomic_cmpset_int.
2003-03-05 04:14:52 +00:00
Keith Whitwell 51e5f73d2a DRM_FREE/2 patch from Philip Brown 2003-03-04 11:41:12 +00:00
Jose Fonseca 708ecd0e4b file savage_drv.h was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Jose Fonseca 2254ac21b8 file savage_drm.h was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Jose Fonseca ef6838e92e file savage_bci.c was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Leif Delgass eb0fd431c8 Update object targets 2003-02-28 19:39:46 +00:00
Jose Fonseca 40de83c52c file savage_drv.c was initially added on branch savage-0-0-1-branch. 2003-02-27 12:52:42 +00:00
Jose Fonseca 1c3f704905 file savage.h was initially added on branch savage-0-0-1-branch. 2003-02-27 12:52:42 +00:00
Leif Delgass 40bae8bec8 file mach64_irq.c was initially added on branch mach64-0-0-6-branch. 2003-02-26 09:49:54 +00:00
Eric Anholt b487f30ea5 Fix build on NetBSD. 2003-02-22 18:40:12 +00:00