Gareth Hughes
996eeb8ed8
Commit hacking from a while back. Don't be surprised if this breaks it...
2001-02-20 06:20:05 +00:00
Gareth Hughes
22d6dd2b29
Fix subimage updates, Q3A initial animation should work. Enable specular
...
lighting (GL_SEPARATE_SPECULAR_COLOR).
2000-12-21 04:31:14 +00:00
Gareth Hughes
7630a6397c
Hardware accelerated rendering for the Rage Pro.
...
Client-side PIO with texturing, enough to play Q3A 'Fastest'. Multitexture
not working correctly at this stage, no lines or points, bits of state
missing etc. Should run most of the Mesa demos.
I will make a full post to dri-devel regarding the current state of the
driver, so please see that for more information.
2000-12-17 15:32:33 +00:00
Gareth Hughes
a4163e47fd
Create and map DMA buffers. Includes refactoring of buffer setup code in
...
kernel module.
2000-12-13 10:30:26 +00:00
Gareth Hughes
feb5627964
- Manually disable 2D acceleration, leave sync routine.
...
- Fix pitch values.
- Update clear ioctl parameters.
2000-12-13 03:19:20 +00:00
Gareth Hughes
a13cd4a9f7
Minor fixes, updates.
2000-12-06 16:33:19 +00:00
Gareth Hughes
2b12b72de4
Initial, software-fallback only Rage Pro driver. Suggest not running at
...
all, or at least disabling 2D acceleration (Option "accel" "0") for
now.
Todo: Refactor DMA setup, buffer code to enable vertex DMA buffers. First
cut will be PIO only, add full async DMA and AGP later.
demos> ./glinfo GL_VERSION: 1.2 Mesa 3.4 GL_EXTENSIONS: GL_ARB_multitexture
GL_ARB_tranpose_matrix GL_EXT_abgr GL_EXT_blend_func_separate
GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_histogram
GL_EXT_packed_pixels GL_EXT_polygon_offset GL_EXT_rescale_normal
GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_env_add
GL_EXT_texture_object GL_EXT_texture_lod_bias GL_EXT_vertex_array
GL_MESA_window_pos GL_MESA_resize_buffers GL_NV_texgen_reflection
GL_PGI_misc_hints GL_SGIS_pixel_texture GL_SGIS_texture_edge_clamp
GL_RENDERER: Mesa DRI Mach64 20001203 (Rage Pro) x86/3DNow! GL_VENDOR:
Gareth Hughes GLU_VERSION: 1.1 Mesa 3.5 GLU_EXTENSIONS: GL_EXT_abgr
GLUT_API_VERSION: 3 GLUT_XLIB_IMPLEMENTATION: 15
2000-12-04 06:26:37 +00:00
Gareth Hughes
6c092aadf6
Barebones DRM module for the Rage Pro. Enough to allow the DRI to be
...
initialized, but no DMA yet.
Quote from the server output: ... (0): [drm] installed DRM signal handler
(0): [DRI] installation complete (II) ATI(0): Direct rendering enabled
...
2000-12-02 13:10:03 +00:00
Gareth Hughes
0f55b2b20f
New templated DRM code. First pass at extracting out a lot of the common
...
generic initialization code into template files that can be included
and customized as required. Update mga, r128 and tdfx drivers to use
the new template files. Gamma driver to follow.
Add initial mach64 kernel module using new template files. Should be enough
to get the DRI to initialize, no support for DMA yet though. When I get
a working Rage Pro card I will be able to continue...
2000-11-27 15:30:26 +00:00
Jeff Hartmann
960f13cdf4
Integrated bug fix from David S. Miller (a wait queue removal bug)
2000-11-21 16:18:47 +00:00
Rik Faith
679531e166
Sync with Linux 2.4.0-test11-pre5 Provide backward compatibility tested
...
against 2.2.18pre21
As usual, since all 2.4.0-test* kernels set LINUX_VERSION_CODE to the same
value, if you are running a 2.4.0-test kernel, you MUST be running
2.4.0-test11-pre4 or later (although anything after 2.4.0-test11-pre1
should work fine -- I tested with pre4/pre5). I expect 2.2.x support to
continue to work for all recent kernels, but I tested with 2.2.18pre21
-- we use the old intermodule symbol communication for 2.2.x kernels,
so they should all continue to work.
2000-11-15 15:47:51 +00:00
Rik Faith
0636342ef8
Move .c to .h file
2000-11-14 21:35:00 +00:00
Rik Faith
006458f227
Split agpsupport.c into pre-2.4.0 version and current version.
2000-11-10 18:27:33 +00:00
David Dawes
94071289a4
merge with 4.0.1d
2000-11-08 00:07:17 +00:00
David Dawes
5745cb7fa7
Import of XFree86 4.0.1d
2000-11-07 22:10:46 +00:00
Jeff Hartmann
37d6828fef
Added multitexture fix to the mga drm driver
2000-11-01 19:00:45 +00:00
Rik Faith
52f0bc3c9e
More changes for sync with Linux 2.4.0-test9-pre7
2000-09-29 02:05:41 +00:00
Rik Faith
39a659e877
Audit calls to schedule() Remove tags from files shared with Linux kernel
...
tree Remove debugging statements to make debugging more useful Other
minor cleanups in preparation for sync with Linux 2.4.0-test9-pre7
2000-09-29 01:47:11 +00:00
Jeff Hartmann
b0a7efb5a9
Use PG_reserved for things we remap non-cached
2000-09-28 23:04:57 +00:00
Jeff Hartmann
ed2d0b4bb0
Fixed two things Rik pointed out in the last commit
2000-09-28 15:09:39 +00:00
Jeff Hartmann
550dff98b0
Merged the mga-lock-debug-0-2-0-branch with the trunk. This includes
...
several fixes including: (Jeff) Really disable multitexture (Broken
since Mesa 3.4 integration.)
(Jeff) Various changes in mga_state.c in the kernel module, which includes
a fix to the bug where the first OGL application hangs the machine
w/out rendering anything. This also includes defines for the warp
registers so they are easily human readable.
(Rik and Jeff) Fixed all the schedule loops in the kernel to look like they
are supposed too.
(Jeff) Configurable agp modes: Add the option "AGPMode2x" or "AGPMode4x" to
your XF86Config file.
(Rik) Various cleanups to the mga kernel driver to make it easier to read
and debug.
(Rik) Removed alot of DRM_DEBUG statements from the kernel driver.
2000-09-27 21:32:19 +00:00
Alan Hourihane
c7558d8fa4
commit xfree86 4.0.1d-pre update
2000-09-24 09:34:10 +00:00
Alan Hourihane
b1aa228f7d
Import of XFree86 4.0.1d-pre (2)
2000-09-23 21:25:26 +00:00
Alan Hourihane
881683873e
Import of XFree86 4.0.1d-pre
2000-09-22 18:14:54 +00:00
Rik Faith
de842ea5db
Make management of current->state more correct.
2000-09-19 19:41:07 +00:00
Rik Faith
01346c98b1
Make management of current->state correct (accidentally made incorrect when
...
fixing the trispd bug).
2000-09-19 19:24:28 +00:00
Gareth Hughes
e2a16e1906
Correct sync with 2.4.0-test9-pre4 kernel.
2000-09-19 18:24:09 +00:00
Gareth Hughes
9c8e1adfac
Sync with 2.4.0-test9-pre4 kernel.
2000-09-19 18:14:16 +00:00
Alan Hourihane
dc6b57bf22
axp cast fix.
2000-09-14 14:48:44 +00:00
Rik Faith
f850c1bd06
Remove debugging statement from production code.
2000-09-13 15:02:35 +00:00
Rik Faith
1f8651163a
Fix for [Bug #112247 ] Hard MGA lock with trispd -size 50000
2000-09-13 15:00:09 +00:00
Gareth Hughes
bda40b4146
Sync with 2.4.0-test8 kernel.
2000-09-10 04:59:05 +00:00
Gareth Hughes
5f2cfc5bd8
Merge of tdfx branch undid the changes from the 2.4.0-test8-pre5 kernel
...
sync, so apply them again.
2000-09-07 20:42:32 +00:00
Alan Hourihane
f1bb3c5f5f
Merged tdfx-2-1-branch
2000-09-07 12:40:41 +00:00
Gareth Hughes
7db6449142
Sync with 2.4.0-test8-pre5 kernel.
2000-09-06 20:56:34 +00:00
Keith Whitwell
e3e2d66131
Bump version number after kernel interface change.
2000-08-31 15:32:10 +00:00
Rik Faith
433408db2e
Pre Linux 2.4.0 compatibility header file
2000-08-31 10:10:03 +00:00
Keith Whitwell
926349534d
Initialize vertsize correctly. Add planemask arguments for color and depth
...
stencil clearing.
2000-08-30 22:34:28 +00:00
Rik Faith
32cebaf750
Add compatibility header file to make Linux 2.4.0 kernel patches cleaner.
2000-08-28 19:50:52 +00:00
Rik Faith
6f07e1ff6b
Sync with Linux 2.4.0-test7 Add signal blocking support to all drivers
...
(using control-z on a running direct-rendering client should work now)
2000-08-26 10:36:44 +00:00
Rik Faith
37643234af
Apply patch from Alan Hourihane to temporarily allow compilation on Alpha
...
(the driver has not been tested on Alpha -- this just makes it compile)
2000-08-25 12:49:18 +00:00
Rik Faith
ac3c3571a7
Remove misleading authorship information from sis driver (author has been
...
contacted and will provide improved information later) Rename
sis_drm_public.h to sis_drm.h to be consistent with the other drivers.
2000-08-25 12:45:53 +00:00
Rik Faith
68f6795ef4
Improve detection of kill_fasync parameter count Make compilation of sis.o
...
depend on CONFIG_FB_SIS
2000-08-25 12:44:44 +00:00
Keith Whitwell
fb3939c1a5
Bug fixes for 32bpp rendering (still disabled)
2000-08-20 18:16:49 +00:00
Jeff Hartmann
e30361416b
Possible fix for trispd bug
2000-08-18 19:03:19 +00:00
Rik Faith
364d44a24c
Fix ABA problem in drm_freelist_{put,try}
2000-08-18 18:57:56 +00:00
Rik Faith
f0f6509a72
Sync with Linux 2.4.0-test7/pre4
2000-08-18 13:55:23 +00:00
Rik Faith
f75ec3010a
Bug #112196 : auth.c uses semaphores while holding spinlocks Make spinlocked
...
region smaller to avoid semaphore.
2000-08-17 20:26:11 +00:00
Rik Faith
761ffd63f3
Bug #112197 Made sis driver compile under 2.4.0-test7/pre4
2000-08-17 20:20:33 +00:00
Jeff Hartmann
3e42514360
Fix for bug #111744 which caused any application to never render and dma to
...
stall on certain mga cards
2000-08-16 21:13:24 +00:00