Commit graph

221 commits

Author SHA1 Message Date
Gareth Hughes
71897876f1 - Fix subpixel precision errors.
- Fix software alpha buffer initialization.
- Clean up depth clears, fixes SoF and H2 bugs.
2001-01-04 19:59:46 +00:00
Gareth Hughes
e3d3deec37 Temporary fix for depth clear bugs. Will use hard-coded values instead of
basing them on the current state, preventing any unwanted settings from
    slipping through.
2001-01-03 22:34:17 +00:00
Kevin E Martin
ba08f7f687 - Remove UseCPfor2D option since it is no longer needed/used
- Disable in-memory scratch register shadows since they do not always work
- Fix r128_do_wait_for_idle to wait for the gui to become idle after fifo
    has been drained (apply same fix as I made yesterday to radeon code)
2001-01-03 19:53:06 +00:00
Gareth Hughes
9649e63ba2 - EXT_texture_lod_bias fixes.
- Polygon stipple fixes.
2001-01-03 11:43:14 +00:00
Kevin E Martin
0d221f420e - Fix garbage on first few scan lines caused by the depth buffer being
cleared before the chip's 3d state had been initialized
2001-01-03 07:03:53 +00:00
Gareth Hughes
641ffd2a07 Enable GL scissor, cliprects. 2001-01-03 06:25:27 +00:00
Kevin E Martin
976bb1915b - Move the initialization of the scratch register memory update to before
the scratch pad registers are initialized so that both the registers
    and their in-memory shadows are properly initialized (fixes lockup when
    first client is run)
2001-01-03 06:05:24 +00:00
Kevin E Martin
f574c3ec77 - Fix 2D drawing glitches 2001-01-03 01:26:25 +00:00
Gareth Hughes
6e40be7641 Oops. Add back ADVANCE_RING() after depth clear. 2001-01-02 19:48:45 +00:00
Gareth Hughes
7bf177fb52 Update to cache flushing, syncing. Add back some code that got removed
accidentally, should fix some visual corruption problems.
2001-01-02 19:22:21 +00:00
Gareth Hughes
b292629c86 Remove floating point calculations from kernel module for depth buffer
clear. We should get rid of this at some stage, as it is considerably
    slower than color buffer clears.
2001-01-02 16:51:21 +00:00
Gareth Hughes
ee882f2842 - Map in-memory copy of scratch registers into client-side 3D driver. Used
for throttling with frame, clear counters.
- Throttle the number of clear ioctls we do. Fixes clearspd bugs.
2001-01-01 19:48:40 +00:00
Gareth Hughes
5f32ef2072 - Removal of SubmitPackets routines, replaced with root-only indirect
buffer firing. Currently only implemented in Radeon driver.
- Force old "UseCPFor2D" option to be on in Radeon driver and remove it. CP
    must be running (and stay running) for direct rendering support.
- Cleanup of basic CP acceleration in Radeon driver for better interaction
    with direct rendering clients (hardware state cleanup for 2D and so
    on).
- Better fullscreen mode support.
2001-01-01 12:51:30 +00:00
Gareth Hughes
7c213c834b Random hacking. Can you say functional Radeon driver? 2000-12-29 04:46:23 +00:00
Gareth Hughes
3b89d5aaa5 Merge in XFree86 4.0.2 updates from trunk. 2000-12-23 06:47:58 +00:00
Kevin E Martin
7c7885903a - Added texture support (not yet working; also texblits not implemented
yet)
- Added workaround for overwriting VB problem (does not completely solve
    the problem -- Q3A, gloss among others will still demonstrate the
    problem)
- Added window offsets support
- Fixed depth offset initialization
- Changed visuals to support 24bpp instead of 32bpp depth buffers to match
    Mesa's depth buffer support
2000-12-22 05:22:08 +00:00
Kevin E Martin
56284c6b98 Add basic Radeon 3D driver (not fully functional yet) 2000-12-20 00:25:51 +00:00
Kevin E Martin
1aa2f345c7 This check-in contains three large chunks of code:
1. Radeon DRI support
- Add Radeon server-side DRI support
- Add Radeon kernel module support
2. Latest Rage 128 code
- Merge ati-4-1-1-branch code (for Rage 128)
- Bring Radeon server-side code up to date with the Rage 128 code
3. Misc bug fixes
- Fix initial DRI lock problem
- Fix static server build problem
Notes:
1. No Radeon 3D code has been checked in. It is still under development and
    is not yet ready for testing.
2. The X server locks up when doing lots of screen-to-screen copies (e.g.,
    during "x11perf -copywinwin500"), so it is recommended that
    non-developers continue to use the trunk code until this bug is
    resolved.
2000-11-13 23:35:02 +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