Commit graph

880 commits

Author SHA1 Message Date
Dave Airlie
3c9fb37e65 fixes from kernel for 0 vs NULL - mika 2004-07-05 11:56:51 +00:00
Dave Airlie
4cfd0d5cee whitespace align with kernel 2004-07-05 11:44:30 +00:00
Dave Airlie
87832bc81a fix bug with pci_disable_device in the wrong place (Paul Mackerras) remove
hack code from me..
2004-06-21 11:46:52 +00:00
Dave Airlie
1ee210e3b5 dirty hack to make mach64 work, (don't worry I'll get around to fixing it
asap..)
2004-06-12 02:30:52 +00:00
Keith Whitwell
373d67702c A few changes for recent redhat. 2004-06-10 12:48:35 +00:00
Keith Whitwell
0faa00ae64 i915 drm module 2004-06-10 12:47:50 +00:00
Keith Whitwell
291ffeae9a i915.o drm driver 2004-06-10 12:45:38 +00:00
Dave Airlie
78d0fd6526 gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
and/or d->send_sizes. When these functions are called from gamma_dma,
    these pointers are user pointers and are thus not safe to deref. This
    patch copies over the pointers inside gamma_dma_priority and
    gamma_dma_send_buffers.
Submitted-by: Robert T. Johnson <rtjohnso@eecs.berkeley.edu> Signed-off-by:
    Dave Airlie <airlied@linux.ie>
2004-06-10 09:43:53 +00:00
Dave Airlie
cfa5bf3129 The dev->devname being passed to request_irq in drm_irq.h is null. With the
old DRM interface, the devname was set in DRM(setunique), but with the
    current DRM interface >=1.1 the devname is not being set in
    DRM(set_busid).
From: Alan Swanson Approved-by: Dave Airlie <airlied@linux.ie>
2004-06-07 01:42:35 +00:00
Ian Romanick
52e3a8a5d9 Added some comments copied from xf86drm.h. 2004-06-02 17:41:52 +00:00
Ian Romanick
f994b1f31b Replace size_t with an ugly, ugly hack. This was done so that code in the
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-06-01 16:17:32 +00:00
Dave Airlie
024fd4b150 2.4 compat 2004-05-30 23:38:08 +00:00
Dave Airlie
412f9909c6 fixes from kernel: Make users of page->count use the provided macros 2004-05-30 23:34:23 +00:00
Roland Scheidegger
43c244ebba fix whitespace issue in previous patch 2004-05-18 23:30:46 +00:00
Roland Scheidegger
aa142ff1b5 add R200_EMIT_RB3D_BLENDCOLOR state packet to support GL_EXT_blend_color,
GL_EXT_blend_func_separate and GL_EXT_blend_equation_separate on r200
2004-05-18 23:03:22 +00:00
Dave Airlie
8350382cb1 another 2.4 fix 2004-05-18 09:46:31 +00:00
Dave Airlie
df6c37fc88 2.4 compat fix 2004-05-18 09:42:22 +00:00
Erdi Chen
13894755a7 Add PCI id entry for VIA CN400 (UnichromePro) chip. XFree86 bug: Reported
by: Submitted by: Reviewed by: Obtained from:
2004-05-14 23:54:31 +00:00
Eric Anholt
853adb8be3 Merge from FreeBSD-current. Mostly 64-bit cleanliness fixes, but a few
driver interface changes from -current.
2004-05-11 04:43:43 +00:00
Eric Anholt
485b259b44 Add missing DRM_ERR()s. 2004-05-11 04:23:02 +00:00
Dave Airlie
a1160ba279 do some real testing and fix the DRM initialising and unloading 2004-05-10 11:16:26 +00:00
Eric Anholt
c47b611b08 Add mach64 DRM module for BSD (untested, but compiles). 2004-05-09 22:36:19 +00:00
Eric Anholt
dfdf8e14d3 Add .cvsignore files. 2004-05-09 22:29:55 +00:00
Eric Anholt
51ed2f5937 Warning fixes. 2004-05-09 22:16:11 +00:00
Eric Anholt
d477cc007c - Link in shared files as necessary and clean them up.
- Generate drm_pciids.h automatically.
2004-05-09 22:14:07 +00:00
Eric Anholt
c093a03d47 Catch up with sis's DRM tag change. 2004-05-09 22:07:58 +00:00
Eric Anholt
7bfce0c357 Remove after repocopy to Makefile, now that we don't have to worry about
conflicting with imake's output.
2004-05-09 21:59:36 +00:00
Eric Anholt
b9dcb5b187 No /bin/bash on BSD. 2004-05-09 21:57:58 +00:00
Eric Anholt
29f2b1c1cf drm_hw_lock_t is now defined in drm.h, remove from here. 2004-05-09 21:56:19 +00:00
Dave Airlie
a2f7a9fa5f Commit sysfs and drm PCI changes for 2.6 kernel 2004-05-09 06:45:17 +00:00
Dave Airlie
d7e777b696 make drm pciids 2004-05-09 06:36:55 +00:00
Dave Airlie
0b481856dd use drm.. not dri for class... 2004-05-03 00:06:04 +00:00
Dave Airlie
a9d2438999 fix 2.4 build 2004-05-02 13:03:51 +00:00
Dave Airlie
a3612f450b better device class support from Jon Smirls patches.. 2004-05-02 12:27:17 +00:00
Dave Airlie
06332524b5 add another tdfx 2004-04-26 06:43:53 +00:00
Dave Airlie
d40443534c Add __user annotations from kernel 2004-04-22 12:41:43 +00:00
Dave Airlie
87812e82f4 add sparc ffb files from kernel just to keep things in sync 2004-04-22 11:31:55 +00:00
Dave Airlie
0edc2abf84 add new files to generate pci ids 2004-04-21 23:45:18 +00:00
Dave Airlie
2d9bbba0e1 bug from Linux kernel list caught by checker 2004-04-21 12:18:42 +00:00
Dave Airlie
93bd67ef62 centralise pci ids into one place and use scripts to generate files for
kernel
2004-04-21 12:13:31 +00:00
Michel Daenzer
0f32a88527 Move Makefile.linux to Makefile.
Get rid of Makefile juggling hacks which are no longer necessary.
2004-04-18 22:59:01 +00:00
Thomas Hellstrom
6f6d2a553a 1. Added a PCI ID.
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-12 10:18:18 +00:00
Dave Airlie
6fa5c5d958 more files for mach64 2004-04-12 05:44:16 +00:00
Dave Airlie
873e1c4d38 Add mach64 to the trunk 2004-04-12 05:27:40 +00:00
Michel Daenzer
7e39628577 Have CVS ignore some files produced by the build. 2004-04-10 16:20:00 +00:00
Dave Airlie
3306abbde7 white space changes to align with kernel 2004-04-10 13:52:43 +00:00
Dave Airlie
7e0f883501 include highmem.h 2004-04-10 13:25:30 +00:00
Dave Airlie
2b0292c739 update gamma_dma with patch from davej in 2.6 2004-04-10 12:58:18 +00:00
Dave Airlie
e375a3dc10 patch from Andrew Morton tree from Arjan van de Ven fixes some oopses seen
with 4G/4G split
2004-04-10 08:15:48 +00:00
Dave Airlie
23ec8875fc align code with Linux kernel. 2004-04-10 07:41:19 +00:00