Commit graph

21453 commits

Author SHA1 Message Date
Dave Airlie
a03a4dd524 r200: remove depth check for dri2 2009-03-06 04:48:20 +10:00
Dave Airlie
7ba9eb1e85 r200: temporary sw clear code 2009-03-06 04:48:20 +10:00
Dave Airlie
9d72a75917 radeon: use t->bo to figure out of settexbuffer override is in action 2009-03-05 19:00:17 +10:00
Dave Airlie
eba8008916 r200: port over state emits for kms from radeon
this needs testing on real hw
2009-03-05 18:58:48 +10:00
Dave Airlie
5c80eb7ec1 r200: add set tex buffer support 2009-03-06 02:37:10 +10:00
Dave Airlie
31f1298807 radeon: r100 clean up CS packet size calc 2009-03-04 22:26:44 +10:00
Dave Airlie
924bf0d8d3 radeon: settexbuffer support
This gets DRI2 compiz going
2009-03-04 22:26:20 +10:00
Dave Airlie
26d0172a5b radeon: fix texturing for r100 2009-03-04 20:24:08 +10:00
Dave Airlie
940d47de08 radeon: use swrast clear - fail on depth
need to write real hw user clear
2009-03-04 18:36:46 +10:00
Dave Airlie
e0de73e8a5 radeon: fixup some segfaults/exit at startup 2009-03-04 18:36:13 +10:00
Dave Airlie
54b42c0a4a radeon: remove debugging 2009-03-03 03:37:23 +10:00
Dave Airlie
2b85fccae5 radeon: refactor framebuffer code like intel
this is a step towards fbos and should fix pageflipping, but
I think the first flip seems broken.
2009-03-03 03:29:37 +10:00
Alex Deucher
863c76a7bb R300: add support for RS600 chips 2009-02-27 14:48:24 -05:00
Alex Deucher
5a34ace3e6 R300: set the number of GB pipes on all r3xx-r5xx chips 2009-02-27 14:31:14 -05:00
Dave Airlie
0dba8883e3 r300: make ste text buffer work with > 2048 on r500 2009-02-27 14:04:03 +10:00
Dave Airlie
26c1b0af02 radeon: add more fbconfigs
this makes glxgears get its background back when running under DRI2
2009-02-27 14:04:03 +10:00
Dave Airlie
7f44b62a4a r300: remove depth offset exits in favour of rrb depth changes 2009-02-27 14:04:03 +10:00
Dave Airlie
294aab9b71 r200: fixup emit sizes for kms 2009-02-27 03:37:30 +10:00
Dave Airlie
e267a090ab r200: port over cs emit changes from radeon 2009-02-27 03:05:42 +10:00
Dave Airlie
2972d06526 radeon: fixup old packets emission for CS case 2009-02-26 18:26:22 +10:00
Dave Airlie
6d7164705b r100: fixup kms state emissions 2009-02-26 15:32:34 +10:00
Dave Airlie
6415e64cbc radeon: avoid page flip code in DRI2 2009-02-26 15:32:34 +10:00
Dave Airlie
3ec7137a75 radeon: enable DRI2 for r100 2009-02-26 15:32:33 +10:00
Dave Airlie
925ea2d9a5 radeon: move CB/ZB state init into emit code
This removes the use of the sarea for this stuff so makes DRI2 easier
and emits the CB/ZB info in the correct place
2009-02-26 15:32:27 +10:00
Dave Airlie
158ede35d5 r300: fixup texture state emission for kms path 2009-02-26 11:09:32 +10:00
Dave Airlie
2c033f3893 r300: don't call page flip on DRI2 2009-02-26 11:09:16 +10:00
Dave Airlie
bc5f94c1e1 r300: don't flush VAP too often.
Flush the VAP the first time for each state atom we upload new
VAP data
2009-02-26 11:08:14 +10:00
Dave Airlie
199867bd45 r300: drop r300Flush for the generic one 2009-02-25 18:06:44 +10:00
Dave Airlie
2ebf9b9521 r300: fix bo ref/unref, plugs DRI handle leaks 2009-02-24 12:04:49 +10:00
Dave Airlie
c32a28d86e r300: fixup old setTexOffset DRI1 extension 2009-02-23 15:41:30 +10:00
Dave Airlie
f4502f0f8c radeon: add more debug info to the flush debug 2009-02-23 14:04:22 +10:00
Dave Airlie
018f5f92cc r300: revert back autostate change on cacheflush emit 2009-02-23 14:04:22 +10:00
Dave Airlie
13ed7985b2 r300: use OUT_BATCH_REGVAL in a few more places 2009-02-23 14:04:20 +10:00
Dave Airlie
6ffd472b0e r300: set u to 0 so debug logs are easier to read 2009-02-23 14:04:19 +10:00
Dave Airlie
8c23970479 radeon: stabilise r300 driver like the F10 mesa bufmgr
For some reason flushs caused by this CS needs flush hook,
caused the chip to lockup on r300 under compiz, whereas
the F10 driver was rock solid.
2009-02-23 14:04:18 +10:00
Dave Airlie
77161c5ff5 radeon: add some debugging for flush ioctls 2009-02-23 14:04:18 +10:00
Dave Airlie
d4bfe34cb9 radeon: make state atom print like old r300 code 2009-02-23 14:04:17 +10:00
Dave Airlie
b4a90c6213 radeon: fixup legacy bo/cs out of VRAM waiting.
This is similiar to the code from the F10 r300 bufmgr
2009-02-23 14:04:17 +10:00
Dave Airlie
da17b36412 r300: make DRI2 not crash on compiz start 2009-02-18 10:47:17 +10:00
Dave Airlie
e9d6beaab4 radeon: move device param id check ifndef 2009-02-18 10:47:17 +10:00
Dave Airlie
745c787338 radeon: initialise swapped objects pointer 2009-02-17 16:01:16 +10:00
Dave Airlie
9c040745fe radeon: legacy texMem interface fixups.
The texmem.c interface is wildly messed up it really wants to own the objects
so let it, pain in the ass but this code should work a lot better now
2009-02-17 14:48:49 +10:00
Dave Airlie
7ce6af25e5 Revert "dri/radeon: export a function to cleanup a texture object."
This reverts commit 5325f86240.
2009-02-17 14:46:12 +10:00
Dave Airlie
2ba4fc3d60 radeon/r200: drop legacy texture heap code 2009-02-17 14:00:24 +10:00
Dave Airlie
48e7b940eb radeon/r200: fixup texturing aging calls 2009-02-17 13:39:38 +10:00
Dave Airlie
7c7ff659ce radeon: fixup destroy texture object exit path and update LRU
the destroy path was doing bad things with structure names, make it do less
bad things, use container_of instead
2009-02-17 11:17:22 +10:00
Dave Airlie
43c71a2d40 radeon: remove leftover debug 2009-02-17 10:42:51 +10:00
Dave Airlie
62d504d818 radeon/r200: drop dirty state from texture object + pp_txoffset
this is just more code cleanup for old dead code
2009-02-17 10:41:21 +10:00
Dave Airlie
a365f9b78b r200: align with r100 code 2009-02-17 10:28:43 +10:00
Dave Airlie
646325a5ef radeon: fix not emitting texture state correctly
this is whole texture dirty bit is probably not needed with the current
codebase, need to revisit
2009-02-17 10:27:45 +10:00