Commit graph

217 commits

Author SHA1 Message Date
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
Kevin E Martin
633e9c8f8b file radeon_state.c was initially added on branch ati-5-0-0-branch. 2000-11-13 23:35:02 +00:00
Kevin E Martin
58d90faf9a file radeon_cp.c was initially added on branch ati-5-0-0-branch. 2000-11-13 23:35:02 +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
Kevin E Martin
dbe7d55cb0 file radeon_drv.c was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +00:00
Kevin E Martin
0688c59397 file radeon_drv.h was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +00:00
Kevin E Martin
9c250f5c18 file radeon_context.c was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +00:00
Kevin E Martin
54e6f2f846 file radeon_drm.h was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +00:00
Kevin E Martin
ca013c632c file radeon_bufs.c was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +00:00
Kevin E Martin
cba6c830e0 file radeon_dma.c was initially added on branch radeon-1-0-0-branch. 2000-09-27 03:34:14 +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
Gareth Hughes
e06e4a73ac file mach64_drv.c was initially added on branch mach64-0-0-0-branch. 2000-09-20 05:25:18 +00:00
Gareth Hughes
7ed69fd309 file mach64_bufs.c was initially added on branch mach64-0-0-0-branch. 2000-09-20 05:25:18 +00:00
Gareth Hughes
d75fe0d7bf file mach64_context.c was initially added on branch mach64-0-0-0-branch. 2000-09-20 05:25:18 +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
Gareth Hughes
ce199c73e5 file r128_state.c was initially added on branch ati-4-1-1-branch. 2000-09-19 16:40:02 +00:00
Gareth Hughes
4ec540945d file r128_cce.c was initially added on branch ati-4-1-1-branch. 2000-09-19 16:38:55 +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
Jeff Hartmann
3adced5b29 file drm_heavy_kern_lock.c was initially added on branch
mga-lock-debug-0-0-1-branch.
2000-09-07 22:33:36 +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