profile/ivi/libdrm.git
17 years agoAdd a code comment.
Thomas Hellstrom [Tue, 17 Apr 2007 06:46:45 +0000 (08:46 +0200)]
Add a code comment.

17 years agoRequire the hardware lock for buffer creation
Thomas Hellstrom [Mon, 16 Apr 2007 14:23:05 +0000 (16:23 +0200)]
Require the hardware lock for buffer creation
(since that implies a validate).
Fix drm_bo_wait_unfenced error messages and codes.
Fix some return codes from libdrm.

17 years agonouveau: nv10 per channel init from ddx
Matthieu Castet [Tue, 10 Apr 2007 21:19:29 +0000 (23:19 +0200)]
nouveau: nv10 per channel init from ddx

17 years agors480: Renamed some unknown registers. See dri-devel list.
Oliver McFadden [Mon, 9 Apr 2007 23:23:40 +0000 (23:23 +0000)]
rs480: Renamed some unknown registers. See dri-devel list.

17 years agonouveau: NV46 support
Ben Skeggs [Mon, 9 Apr 2007 13:20:26 +0000 (23:20 +1000)]
nouveau: NV46 support

17 years agoradeon: bump version for IGPGART support
Dave Airlie [Mon, 9 Apr 2007 12:00:34 +0000 (22:00 +1000)]
radeon: bump version for IGPGART support

17 years agoradeon: add support for reverse engineered xpress200m
Dave Airlie [Mon, 9 Apr 2007 11:52:59 +0000 (21:52 +1000)]
radeon: add support for reverse engineered xpress200m

The IGPGART setup code was traced using mmio-trace on fglrx by myself
and Phillip Ezolt <phillipezolt@gmail.com> on dri-devel.

This code doesn't let the 3D driver work properly as the card has no
vertex shader support.

Thanks to Matthew Garrett + Ubuntu for providing me some hardware to do this
work on.

17 years agofixup install target, not sure what I was smokin...
Dave Airlie [Fri, 6 Apr 2007 21:21:05 +0000 (07:21 +1000)]
fixup install target, not sure what I was smokin...

17 years agoi915: use breadcrumb macro everywhere
Dave Airlie [Sun, 1 Apr 2007 06:30:52 +0000 (16:30 +1000)]
i915: use breadcrumb macro everywhere

17 years agonouveau: make a note about a bit that breaks some cards
Ben Skeggs [Thu, 5 Apr 2007 17:24:39 +0000 (03:24 +1000)]
nouveau: make a note about a bit that breaks some cards

17 years agonouveau: Power up all card units by default on startup.
Ben Skeggs [Thu, 5 Apr 2007 17:03:59 +0000 (03:03 +1000)]
nouveau: Power up all card units by default on startup.

17 years agoadd an install target to the drm modules makefile
Dave Airlie [Thu, 5 Apr 2007 01:18:00 +0000 (11:18 +1000)]
add an install target to the drm modules makefile

17 years agoFix user object reference when caller is not object creator.
Thomas Hellstrom [Tue, 3 Apr 2007 08:54:23 +0000 (10:54 +0200)]
Fix user object reference when caller is not object creator.
(Reported by Dave Airlie).

17 years agoAdd a fence flush event to each fence-signaled check when lazy-waiting
Thomas Hellstrom [Tue, 3 Apr 2007 08:24:06 +0000 (10:24 +0200)]
Add a fence flush event to each fence-signaled check when lazy-waiting

to make sure we don't lose any sequence numbers if, for some reason,
they don't generate an IRQ.

17 years agoMake sure we ack irqs before we read a breadcrumb so that
Thomas Hellstrom [Tue, 3 Apr 2007 08:21:41 +0000 (10:21 +0200)]
Make sure we ack irqs before we read a breadcrumb so that

breadcrumb updates that occur _AFTER_ we've read the breadcrumb really
generates a new IRQ.

17 years agoEvicted no-move buffers can get lost if they end up in another
Thomas Hellstrom [Fri, 30 Mar 2007 12:14:26 +0000 (14:14 +0200)]
Evicted no-move buffers can get lost if they end up in another

memory type than local.

17 years agoFix an oops when trying to clean a not yet initialized memory type.
Thomas Hellstrom [Fri, 30 Mar 2007 10:23:22 +0000 (12:23 +0200)]
Fix an oops when trying to clean a not yet initialized memory type.

17 years agoMake sure CMA (Can't map aperture) pages are mapped uncached.
Thomas Hellstrom [Thu, 29 Mar 2007 19:33:41 +0000 (21:33 +0200)]
Make sure CMA (Can't map aperture) pages are mapped uncached.

(Should really make this write-combined using PATs, at some point).

17 years agor300: Synchronize the register header file again.
Oliver McFadden [Mon, 2 Apr 2007 19:45:10 +0000 (19:45 +0000)]
r300: Synchronize the register header file again.

It's a good idea to keep these synchronized; even though the DRM doesn't use all
the defines, maintaining two different copies is prone to errors when the diff
gets bigger.

17 years agonouveau: fix usage of PGRAPH_CTX_CONTROL on nv20+
Matthieu Castet [Sun, 1 Apr 2007 12:31:41 +0000 (14:31 +0200)]
nouveau: fix usage of PGRAPH_CTX_CONTROL on nv20+

http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=17985f07d68322519919a7f629a6d2d9bf3916ed could have broken some nvxx_graph code : it rename NV03_PGRAPH_CTX_CONTROL to NV10_PGRAPH_CTX_CONTROL, but forgot to update it in nvxx_graph file.

Also when migrating init stuff in http://gitweb.freedesktop.org/?p=mesa/drm.git;a=commitdiff;h=674cefd4fe4b537a20a10edcb4ec5df55facca8e, NV04_PGRAPH_CTX_CONTROL is used everywhere but the old ddx code use NV_PGRAPH_CTX_CONTROL_NV04 or NV_PGRAPH_CTX_CONTROL.

17 years agonouveau : nv10 ctx switch fix
Matthieu Castet [Sun, 1 Apr 2007 12:21:29 +0000 (14:21 +0200)]
nouveau : nv10 ctx switch fix
restoring NV10_PGRAPH_CTX_SWITCH1 now works

17 years agonouveau : set the correct PGRAPH_CTX_CONTROL register
Matthieu Castet [Sat, 31 Mar 2007 22:44:11 +0000 (00:44 +0200)]
nouveau : set the correct PGRAPH_CTX_CONTROL register

"5a072f32        (Stephane Marchesin     2007-02-03 04:57:06 +0100" broke nv10 ctx switch by setting wrong PGRAPH_CTX_CONTROL reg

17 years agoMerge branch 'crestline-qa', adding support for the 965GM chipset.
Eric Anholt [Fri, 30 Mar 2007 19:56:34 +0000 (12:56 -0700)]
Merge branch 'crestline-qa', adding support for the 965GM chipset.

17 years agoMerge branch 'origin'
Eric Anholt [Fri, 30 Mar 2007 19:56:08 +0000 (12:56 -0700)]
Merge branch 'origin'

17 years agodrm/bo: avoid oops if the memory manager for this type isn't initialised
Dave Airlie [Wed, 28 Mar 2007 23:25:04 +0000 (09:25 +1000)]
drm/bo: avoid oops if the memory manager for this type isn't initialised

17 years agonouveau: fix nv04 context switches.
Stephane Marchesin [Wed, 28 Mar 2007 22:54:18 +0000 (00:54 +0200)]
nouveau: fix nv04 context switches.

17 years agodrm/i915: set the bo up at firstopen time not after DMA init
Dave Airlie [Tue, 27 Mar 2007 08:01:31 +0000 (18:01 +1000)]
drm/i915: set the bo up at firstopen time not after DMA init

This is required to use TTM to allocate the ring buffer.

17 years agodrm/ttm: make sure dev_mapping is set-up for the first opener of the drm
Dave Airlie [Tue, 27 Mar 2007 07:59:30 +0000 (17:59 +1000)]
drm/ttm: make sure dev_mapping is set-up for the first opener of the drm

This was causing an oops in my miniglx code to try and use a TTM-only setup.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Tue, 27 Mar 2007 04:53:13 +0000 (12:53 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agonouveau: move card initialisation into the drm
Ben Skeggs [Mon, 26 Mar 2007 09:43:48 +0000 (19:43 +1000)]
nouveau: move card initialisation into the drm

The PGRAPH init for the various cards will need cleaning up at some point,
a lot of the values written there are per-context state left over from the
all the hardcoding done in the ddx.

It's possible some cards get broken by this commit, let me know.
Tested on: NV5, NV18, NV28, NV35, NV40, NV4E

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Sun, 25 Mar 2007 09:00:36 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoCatch up to new interrupt API, and retire FreeBSD 4.x support here.
Eric Anholt [Sat, 24 Mar 2007 16:39:09 +0000 (09:39 -0700)]
Catch up to new interrupt API, and retire FreeBSD 4.x support here.

17 years agovm: cleanup drm_vm.c along lines of cleanups queued for kernel
Dave Airlie [Sat, 24 Mar 2007 06:58:27 +0000 (17:58 +1100)]
vm: cleanup drm_vm.c along lines of cleanups queued for kernel

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Fri, 23 Mar 2007 09:00:41 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agonouveau: rework nouveau_fifo_alloc() so the drm can create internal FIFOs
Ben Skeggs [Fri, 23 Mar 2007 03:45:00 +0000 (14:45 +1100)]
nouveau: rework nouveau_fifo_alloc() so the drm can create internal FIFOs

17 years agocleanup more whitespace from ttm merge
Dave Airlie [Fri, 23 Mar 2007 03:56:39 +0000 (14:56 +1100)]
cleanup more whitespace from ttm merge

17 years agodrm: remove second spinlock init for tasklet lock
Dave Airlie [Fri, 23 Mar 2007 03:56:28 +0000 (14:56 +1100)]
drm: remove second spinlock init for tasklet lock

17 years agonouveau: remove unused cruft
Ben Skeggs [Fri, 23 Mar 2007 02:45:29 +0000 (13:45 +1100)]
nouveau: remove unused cruft

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Wed, 21 Mar 2007 09:00:43 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agonouveau: support multiple channels per client (breaks drm interface)
Ben Skeggs [Wed, 21 Mar 2007 06:57:47 +0000 (17:57 +1100)]
nouveau: support multiple channels per client (breaks drm interface)

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Tue, 20 Mar 2007 05:11:02 +0000 (13:11 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agorename badly named define
Dave Airlie [Mon, 19 Mar 2007 23:13:58 +0000 (10:13 +1100)]
rename badly named define

17 years agoremove i830 reference
Alan Hourihane [Mon, 19 Mar 2007 11:40:52 +0000 (11:40 +0000)]
remove i830 reference

17 years agoRemove old i830 kernel driver.
Alan Hourihane [Mon, 19 Mar 2007 11:40:05 +0000 (11:40 +0000)]
Remove old i830 kernel driver.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Mon, 19 Mar 2007 09:00:31 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agomore return values fixup
Dave Airlie [Sun, 18 Mar 2007 22:20:04 +0000 (09:20 +1100)]
more return values fixup

17 years agofixup return values in drm ioctl
Dave Airlie [Sun, 18 Mar 2007 22:12:08 +0000 (09:12 +1100)]
fixup return values in drm ioctl

17 years agomore whitespace issues
Dave Airlie [Sun, 18 Mar 2007 21:56:24 +0000 (08:56 +1100)]
more whitespace issues

17 years agocleanup ioctl expansion code
Dave Airlie [Sun, 18 Mar 2007 21:46:39 +0000 (08:46 +1100)]
cleanup ioctl expansion code

17 years agooops missing else
Dave Airlie [Sun, 18 Mar 2007 21:46:25 +0000 (08:46 +1100)]
oops missing else

17 years agomake drm fops const from kernel
Dave Airlie [Sun, 18 Mar 2007 21:36:01 +0000 (08:36 +1100)]
make drm fops const from kernel

17 years agouse ARRAY_SIZE
Dave Airlie [Sun, 18 Mar 2007 21:32:25 +0000 (08:32 +1100)]
use ARRAY_SIZE

17 years agomore tab/space conversion
Dave Airlie [Sun, 18 Mar 2007 21:29:07 +0000 (08:29 +1100)]
more tab/space conversion

17 years agowhitespace cleanup pending a kernel merge
Dave Airlie [Sun, 18 Mar 2007 21:23:43 +0000 (08:23 +1100)]
whitespace cleanup pending a kernel merge

17 years agoclean up more of inline functions agp_remap/drm_lookup_map
Dave Airlie [Sun, 18 Mar 2007 21:09:21 +0000 (08:09 +1100)]
clean up more of inline functions agp_remap/drm_lookup_map

17 years agodeinline agp_remap along lines of kernel
Dave Airlie [Sun, 18 Mar 2007 10:45:07 +0000 (21:45 +1100)]
deinline agp_remap along lines of kernel

17 years agoremove drm_lookup_map unused now
Dave Airlie [Sun, 18 Mar 2007 10:42:48 +0000 (21:42 +1100)]
remove drm_lookup_map unused now

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Wed, 14 Mar 2007 09:00:27 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agor300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; not
Oliver McFadden [Tue, 13 Mar 2007 14:48:01 +0000 (14:48 +0000)]
r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; not
enough information is known about them to be sure as to what the values mean.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Tue, 13 Mar 2007 09:00:31 +0000 (17:00 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoAdd defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.
Oliver McFadden [Tue, 13 Mar 2007 06:25:04 +0000 (06:25 +0000)]
Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.

Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these
values are really unknown; ideally more reverse engineering should be done to
determine what these values mean and when they should be set.

17 years agonouveau: make sure cmdbuf object gets destroyed
Ben Skeggs [Tue, 13 Mar 2007 03:51:55 +0000 (14:51 +1100)]
nouveau: make sure cmdbuf object gets destroyed

17 years agonouveau: associate all created objects with a channel + cleanups
Ben Skeggs [Tue, 13 Mar 2007 03:18:03 +0000 (14:18 +1100)]
nouveau: associate all created objects with a channel + cleanups

17 years agonouveau: s/fifo/channel/
Ben Skeggs [Tue, 13 Mar 2007 02:43:14 +0000 (13:43 +1100)]
nouveau: s/fifo/channel/

17 years agoCorrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either
Oliver McFadden [Tue, 13 Mar 2007 01:19:56 +0000 (01:19 +0000)]
Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to either
R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.

17 years agoGuess another unknown register used for R300 pacification.
Oliver McFadden [Tue, 13 Mar 2007 00:50:05 +0000 (00:50 +0000)]
Guess another unknown register used for R300 pacification.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Mon, 12 Mar 2007 01:03:40 +0000 (09:03 +0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agonouveau: PUT,GET, not 2xPUT
Patrice Mandin [Sun, 11 Mar 2007 13:02:40 +0000 (14:02 +0100)]
nouveau: PUT,GET, not 2xPUT

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Wed, 7 Mar 2007 21:01:50 +0000 (16:01 -0500)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoAdd via CX700.
Thomas Hellstrom [Wed, 7 Mar 2007 08:19:57 +0000 (09:19 +0100)]
Add via CX700.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Mon, 5 Mar 2007 14:01:45 +0000 (09:01 -0500)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoradeon: make PCI GART aperture size variable, but making table size variable
Dave Airlie [Sun, 4 Mar 2007 08:10:46 +0000 (19:10 +1100)]
radeon: make PCI GART aperture size variable, but making table size variable

This is precursor to getting a TTM backend for this stuff, and also
allows the PCI table to be allocated at fb 0

17 years agoati: make pcigart code able to handle variable size PCI GART aperture
Dave Airlie [Sun, 4 Mar 2007 07:13:34 +0000 (18:13 +1100)]
ati: make pcigart code able to handle variable size PCI GART aperture

This code doesn't enable a variable aperture it just modifies the codebase
to allow me fix it up later

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Thu, 1 Mar 2007 14:02:09 +0000 (09:02 -0500)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Wed, 28 Feb 2007 14:00:12 +0000 (09:00 -0500)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agonouveau: intrusive drm interface changes
Ben Skeggs [Wed, 28 Feb 2007 04:14:08 +0000 (15:14 +1100)]
nouveau: intrusive drm interface changes

graphics objects:
- No longer takes flags/dmaobj parameters, requires some major changes
  to the ddx to setup the object through the FIFO.  This change is
  likely to cause breakages on some cards (tested on NV05,NV28,NV35,
  NV40 and NV4E).
dma objects:
- now takes a "class" parameter, not really used yet but we may need
  it at some point.
- parameters are checked, so clients can't randomly create DMA objects
  pointing at whatever they feel like.
misc:
- Added FB_SIZE/AGP_SIZE getparams
- Read PFIFO_INTR in PFIFO irq handler, not PMC_INTR
- Dump PGRAPH trap info on PGRAPH_INTR_NOTIFY if NSOURCE isn't
  NOTIFICATION_PENDING.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Tue, 27 Feb 2007 19:42:26 +0000 (14:42 -0500)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agoFix Alpha domain/bus issue
Jay Estabrook [Tue, 27 Feb 2007 08:55:08 +0000 (08:55 +0000)]
Fix Alpha domain/bus issue

17 years agoFix build for 2.6.21-rc1.
Thomas Hellstrom [Mon, 26 Feb 2007 17:17:54 +0000 (18:17 +0100)]
Fix build for 2.6.21-rc1.
The vm subsystem of 2.6.21 is fully compatible with the buffer object
vm code.

17 years agoMerge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline
Nian Wu [Mon, 26 Feb 2007 01:06:13 +0000 (17:06 -0800)]
Merge git://proxy01.pd.intel.com:9419/git/mesa/drm into crestline

17 years agodrm: remove unnecessary NULL checks, and fix some indents..
Jakob Bornecrantz [Sat, 24 Feb 2007 23:48:26 +0000 (10:48 +1100)]
drm: remove unnecessary NULL checks, and fix some indents..

17 years agoSome fencing cleanup.
Thomas Hellstrom [Thu, 22 Feb 2007 16:04:20 +0000 (17:04 +0100)]
Some fencing cleanup.

17 years agodrm: remove last usage of VM_OFFSET
Dave Airlie [Sun, 18 Feb 2007 06:59:40 +0000 (17:59 +1100)]
drm: remove last usage of VM_OFFSET

17 years agoLeftover files from previous commit.
Thomas Hellstrom [Fri, 16 Feb 2007 19:25:26 +0000 (20:25 +0100)]
Leftover files from previous commit.

17 years agoSimple fence object sample driver for via, based on idling the GPU.
Thomas Hellstrom [Fri, 16 Feb 2007 19:22:24 +0000 (20:22 +0100)]
Simple fence object sample driver for via, based on idling the GPU.
Buffer object driver for via.
Some changes to buffer object driver callbacks.
Improve fence flushing.

17 years agoInitial support for fence object classes.
Thomas Hellstrom [Thu, 15 Feb 2007 11:10:33 +0000 (12:10 +0100)]
Initial support for fence object classes.

(Fence objects belonging to different command submission mechanisms).

17 years agoFix build against older kernels.
Michel Dänzer [Thu, 15 Feb 2007 08:26:16 +0000 (09:26 +0100)]
Fix build against older kernels.

17 years agoMerge branch 'ttm-vram-0-1-branch'
Thomas Hellstrom [Wed, 14 Feb 2007 14:33:40 +0000 (15:33 +0100)]
Merge branch 'ttm-vram-0-1-branch'

17 years agoFix multiple spinlock unlocking
Thomas Hellstrom [Wed, 14 Feb 2007 14:32:08 +0000 (15:32 +0100)]
Fix multiple spinlock unlocking

17 years agoRename drm_ttm.h to drm_objects.h
Thomas Hellstrom [Wed, 14 Feb 2007 13:10:10 +0000 (14:10 +0100)]
Rename drm_ttm.h to drm_objects.h
Fix up some header incompatibilities in drm_fence.c caused by the previous
commit.

17 years agoMove fence- and buffer-object related header stuff to drm_ttm.h
Thomas Hellstrom [Wed, 14 Feb 2007 13:05:40 +0000 (14:05 +0100)]
Move fence- and buffer-object related header stuff to drm_ttm.h

17 years agoRemove an intel-specific hack and replace it with a fence driver callback.
Thomas Hellstrom [Wed, 14 Feb 2007 12:31:35 +0000 (13:31 +0100)]
Remove an intel-specific hack and replace it with a fence driver callback.

17 years agoSet the drm bus map type for each buffer object memory type.
Thomas Hellstrom [Wed, 14 Feb 2007 11:39:02 +0000 (12:39 +0100)]
Set the drm bus map type for each buffer object memory type.

17 years agoRework buffer object vm code to use nopfn() for kernels >= 2.6.19.
Thomas Hellstrom [Wed, 14 Feb 2007 09:49:37 +0000 (10:49 +0100)]
Rework buffer object vm code to use nopfn() for kernels >= 2.6.19.

17 years agonouveau: fix the build on big endian (thanks CyberFoxx)
Stephane Marchesin [Tue, 13 Feb 2007 23:08:55 +0000 (00:08 +0100)]
nouveau: fix the build on big endian (thanks CyberFoxx)

17 years agonouveau: fix memory initialization with multiple cards.
B. Rathmann [Tue, 13 Feb 2007 23:07:31 +0000 (00:07 +0100)]
nouveau: fix memory initialization with multiple cards.

17 years agoRemove debug printout.
Thomas Hellstrom [Tue, 13 Feb 2007 19:46:56 +0000 (20:46 +0100)]
Remove debug printout.

17 years agoBugzilla Bug #9457
Thomas Hellstrom [Sun, 11 Feb 2007 19:33:57 +0000 (20:33 +0100)]
Bugzilla Bug #9457

Add refcounting of user waiters to the DRM hardware lock, so that we can use the
DRM_LOCK_CONT flag more conservatively.

Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context,
when it is released. This is useful when waiting for idle and can be used
for very simple fence object driver implementations for the new memory manager.

It also resolves the AIGLX startup deadlock for the sis and the via drivers.
i810, i830 still require that the hardware lock is really taken so the deadlock remains
for those two. I'm not sure about ffb. Anyone familiar with that code?

17 years agoMore bugfixes.
Thomas Hellstrom [Tue, 13 Feb 2007 19:05:32 +0000 (20:05 +0100)]
More bugfixes.
Fixed memory, pinned buffers and unmappable memory now seems
fully functional.

17 years agoi915: Add 965GM pci id update
Wang Zhenyu [Tue, 13 Feb 2007 08:20:45 +0000 (16:20 +0800)]
i915: Add 965GM pci id update