Thomas Hellstrom
9d0f33b178
ttm: Replace the ttm_buffer_object::mutex with a spinlock.
...
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 23:03:59 +02:00
Thomas Hellstrom
a87bc3c061
ttm: s/flags/placement/
...
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 22:58:34 +02:00
Thomas Hellstrom
f421b2b10f
ttm: Remove the struct ttm_mem_reg::proposed_flags member.
...
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 22:57:57 +02:00
Thomas Hellstrom
6575b6a914
openchrome: Use cached system memory when evicting from VRAM.
2009-04-30 09:37:52 +02:00
Thomas Hellstrom
033d3a9f95
openchrome: Reinstate the old register used for the pause address.
...
0x40c isn't implemented on old unichromes, and seems to cause occasional
lockups on newer ones.
2009-04-05 11:15:55 +02:00
Thomas Hellstrom
649b5f8471
openchrome: Fix a performance regression.
...
Unichrome's don't like small command submissions, so pad the
command stream with dummy data.
Also use 0x40c as pause address register instead of 0x418, as
reading the latter seems to sometimes stall the PCI bus until
the AGP command reader has completed a cycle.
2009-03-11 09:03:47 +01:00
Thomas Hellstrom
a5c936345b
openchrome: Adjust DMA tracker interval.
2009-03-05 08:58:29 +01:00
Thomas Hellstrom
cb2416e1a2
openchrome: Further deferred fencing tweaks.
2009-03-05 08:58:28 +01:00
Thomas Hellstrom
780e793629
openchrome: Add deferred fence emission.
2009-03-05 08:58:28 +01:00
Thomas Hellstrom
a520b3ed01
Another checkpoint: Use bool for boolean.
2009-02-13 21:18:47 +01:00
Thomas Hellstrom
41c3f1ac56
Checkpoint: Use bool for boolean.
2009-02-13 09:00:35 +01:00
Thomas Hellstrom
815856d5de
Fix openchrome backwards compat.
2009-02-10 20:11:26 +01:00
Thomas Hellstrom
8a2a4eb445
openchrome: Use ttm_lock_set_kill functionality to kill processes attempting to use the TTM functionality when it is gone.
2009-02-05 15:44:02 +01:00
Thomas Hellstrom
a0f198572a
openchrome: Use the BKL for old drm ioctls as some of them don't appear thread-safe, but keep unlocked_ioctl for opencrhome- and TTM code.
2009-02-05 15:38:31 +01:00
Thomas Hellstrom
6a16de23d9
openchrome: s/1/true/
2009-02-03 22:22:43 +01:00
Thomas Hellstrom
17ca5f8ee1
openchrome: Fix for 2.6.29
2009-02-03 21:51:57 +01:00
Thomas Hellstrom
465d690edc
Check for null pointer when determining VRAM start.
...
(Reported by Erik-Jan on openchrome-devel)
2009-01-26 23:14:02 +01:00
Thomas Hellstrom
d93fd75f4d
Add reworked via driver as "openchrome".
2009-01-17 12:57:04 +01:00