platform/upstream/libdrm.git
16 years agoMerge branch 'master' into modesetting-101
Thomas Hellstrom [Fri, 26 Oct 2007 08:33:42 +0000 (10:33 +0200)]
Merge branch 'master' into modesetting-101

16 years agoMinor libdrm fixes.
Thomas Hellstrom [Fri, 26 Oct 2007 08:31:14 +0000 (10:31 +0200)]
Minor libdrm fixes.

16 years agoBuffer flags and masks are 64-bit.
Thomas Hellstrom [Fri, 26 Oct 2007 08:25:57 +0000 (10:25 +0200)]
Buffer flags and masks are 64-bit.

don't mask off the high dword.
Signed-off-by: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
16 years agoBuffer flags and masks are 64-bit.
Thomas Hellstrom [Fri, 26 Oct 2007 08:25:57 +0000 (10:25 +0200)]
Buffer flags and masks are 64-bit.
don't mask off the high dword.

16 years agoMerge branch 'master' into modesetting-101
Thomas Hellstrom [Thu, 25 Oct 2007 09:00:45 +0000 (11:00 +0200)]
Merge branch 'master' into modesetting-101

Conflicts:

linux-core/Makefile.kernel
linux-core/drm_bo.c
linux-core/drm_objects.h

16 years agoTighten permissions on some buffer manager ioctls.
Thomas Hellstrom [Thu, 25 Oct 2007 08:29:15 +0000 (10:29 +0200)]
Tighten permissions on some buffer manager ioctls.
Set bo init minor to 0.
Add the version function to header.

16 years agoBuffer manager:
Thomas Hellstrom [Thu, 25 Oct 2007 08:12:21 +0000 (10:12 +0200)]
Buffer manager:
Implement a version check IOCTL for drivers that don't use
drmMMInit from user-space.
Remove the minor check from the kernel code. That's really up
to the driver.
Bump major.

16 years agoFix buffer object flag / mask checking.
Thomas Hellstrom [Thu, 25 Oct 2007 07:49:33 +0000 (09:49 +0200)]
Fix buffer object flag / mask checking.

16 years agoMerge branch 'master' into drm-ttm-finalize
Thomas Hellstrom [Thu, 25 Oct 2007 07:24:45 +0000 (09:24 +0200)]
Merge branch 'master' into drm-ttm-finalize

16 years agoi915: relocate buffers before validation add memory barrier between two
Dave Airlie [Thu, 25 Oct 2007 06:53:18 +0000 (16:53 +1000)]
i915: relocate buffers before validation add memory barrier between two

16 years agoi915: remove relocatee kernel mapping sooner stops mutex taking during sleep
Dave Airlie [Thu, 25 Oct 2007 06:52:33 +0000 (16:52 +1000)]
i915: remove relocatee kernel mapping sooner stops mutex taking during sleep

16 years agomissing mutex unlock bug
Roel Kluin [Thu, 25 Oct 2007 00:24:55 +0000 (10:24 +1000)]
missing mutex unlock bug

16 years agoFix missing \n on some DRM_ERROR in i915_dma.c
Eric Anholt [Wed, 24 Oct 2007 23:27:46 +0000 (16:27 -0700)]
Fix missing \n on some DRM_ERROR in i915_dma.c

16 years agoi915: use a drm memory barrier define
Dave Airlie [Wed, 24 Oct 2007 00:13:15 +0000 (11:13 +1100)]
i915: use a drm memory barrier define

16 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
Alan Hourihane [Tue, 23 Oct 2007 14:34:12 +0000 (15:34 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

16 years agoNeed fb attached
Alan Hourihane [Tue, 23 Oct 2007 14:33:20 +0000 (15:33 +0100)]
Need fb attached

16 years agoi915: require mfence before submitting batchbuffer
Dave Airlie [Tue, 23 Oct 2007 07:54:07 +0000 (17:54 +1000)]
i915: require mfence before submitting batchbuffer

16 years agonouveau: fix IGP
Stephane Marchesin [Tue, 23 Oct 2007 00:18:56 +0000 (02:18 +0200)]
nouveau: fix IGP

16 years agoRemove duplicate file.
Thomas Hellstrom [Mon, 22 Oct 2007 17:16:39 +0000 (19:16 +0200)]
Remove duplicate file.

16 years agoDon't clobber the unfenced list with DONT_FENCE operations.
Thomas Hellstrom [Mon, 22 Oct 2007 17:09:36 +0000 (19:09 +0200)]
Don't clobber the unfenced list with DONT_FENCE operations.

16 years agoA cmdbuf mutex to implement validate-submit-fence atomicity in the absence
Thomas Hellstrom [Mon, 22 Oct 2007 16:59:37 +0000 (18:59 +0200)]
A cmdbuf mutex to implement validate-submit-fence atomicity in the absence
of a hardware lock.

16 years agoSetstatus header.
Thomas Hellstrom [Mon, 22 Oct 2007 11:16:51 +0000 (13:16 +0200)]
Setstatus header.

16 years agoi915: split reloc execution into separate function
Dave Airlie [Mon, 22 Oct 2007 00:54:41 +0000 (11:54 +1100)]
i915: split reloc execution into separate function

16 years agoGet the lock flags right in libdrm.
Thomas Hellstrom [Sun, 21 Oct 2007 10:57:43 +0000 (12:57 +0200)]
Get the lock flags right in libdrm.

16 years agoDisable i915 accelerated blit copy moves for now until we can
Thomas Hellstrom [Sun, 21 Oct 2007 10:31:00 +0000 (12:31 +0200)]
Disable i915 accelerated blit copy moves for now until we can
guarantee that it doesn't clash with the X server.

16 years agoAdapt i915 super-ioctl for lock-free operation.
Thomas Hellstrom [Sun, 21 Oct 2007 10:26:26 +0000 (12:26 +0200)]
Adapt i915 super-ioctl for lock-free operation.

16 years agoRemove the need for the hardware lock in the buffer manager.
Thomas Hellstrom [Sun, 21 Oct 2007 10:20:56 +0000 (12:20 +0200)]
Remove the need for the hardware lock in the buffer manager.
Add interface entry cleaning a memory type without touching NO_EVICT buffers.

16 years agoSimple replacement for hardware lock in some cases.
Thomas Hellstrom [Sat, 20 Oct 2007 14:49:43 +0000 (16:49 +0200)]
Simple replacement for hardware lock in some cases.
Fix i915 since last commit.

16 years agoSome comment updates pending removal of the init mutex.
Thomas Hellstrom [Fri, 19 Oct 2007 14:44:12 +0000 (16:44 +0200)]
Some comment updates pending removal of the init mutex.

16 years agoNo fence_class argument on drmBOSetStatus since it's not
Thomas Hellstrom [Fri, 19 Oct 2007 14:28:47 +0000 (16:28 +0200)]
No fence_class argument on drmBOSetStatus since it's not
associated with a particular command submission.

16 years agoRemove the clean_unfenced function.
Thomas Hellstrom [Fri, 19 Oct 2007 14:24:36 +0000 (16:24 +0200)]
Remove the clean_unfenced function.
Change the restriction that non-creators can't change the buffer flags to
non-creators can't change EVICT and NO_MOVE flags.

16 years agoBug #12838: Fix lock test client vs. server master race and misplaced closes.
Robert Noland [Wed, 17 Oct 2007 20:25:31 +0000 (13:25 -0700)]
Bug #12838: Fix lock test client vs. server master race and misplaced closes.

16 years agoFix a race in the auth test where client prevents server from being master.
Robert Noland [Wed, 17 Oct 2007 20:20:46 +0000 (13:20 -0700)]
Fix a race in the auth test where client prevents server from being 

16 years agoBug #11870: FreeBSD hardware lock cleanup fix with multiple opens by a process.
Jung-uk Kim [Wed, 17 Oct 2007 19:50:29 +0000 (12:50 -0700)]
Bug #11870: FreeBSD hardware lock cleanup fix with multiple opens by a process.

Previously, the lock would get released on the first close by the X Server
(during AIGLX setup), and the Radeon driver would then hang in initialization
due to unexpected failure in DRM calls that required the lock to be held.

Based on a patch by Kostik Belousov.

16 years agoOnly allow creator to change shared buffer mask.
Thomas Hellstrom [Wed, 17 Oct 2007 08:57:12 +0000 (10:57 +0200)]
Only allow creator to change shared buffer mask.

16 years agoRemove the op ioctl, and replace it with a setuser ioctl.
Thomas Hellstrom [Wed, 17 Oct 2007 08:55:21 +0000 (10:55 +0200)]
Remove the op ioctl, and replace it with a setuser ioctl.

Remove need for lock for now.
May create races when we clean memory areas or on takedown.
Needs to be fixed.
Really do a validate on buffer creation in order to avoid problems with
fixed memory buffers.

16 years agoRevert "Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning."
Thomas Hellstrom [Thu, 4 Oct 2007 08:14:41 +0000 (10:14 +0200)]
Revert "Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning."

This reverts cf2d569daca6954d11a796f4d110148ae2e0c827 commit.

16 years agoRevert "Copy the important parts of object_validate into object_create()."
Thomas Hellstrom [Thu, 4 Oct 2007 08:01:30 +0000 (10:01 +0200)]
Revert "Copy the important parts of object_validate into object_create()."

This reverts f9c27aa50b715a7d21858f1ce9e4785120bd0c36 commit.

16 years agoRevert "Remove the pinned buffer from the LRU when pinning."
Thomas Hellstrom [Thu, 4 Oct 2007 07:51:01 +0000 (09:51 +0200)]
Revert "Remove the pinned buffer from the LRU when pinning."

This reverts 3a0bc518e35c62bb9c64c9105f836584d949653f commit.

16 years agoRevert "Add some more verbosity to drm_bo_set_pin_req comments."
Thomas Hellstrom [Thu, 4 Oct 2007 07:50:29 +0000 (09:50 +0200)]
Revert "Add some more verbosity to drm_bo_set_pin_req comments."

This reverts e7bfeb3031374653f7e55d67cc1b5c823849359f commit.

16 years agoFix a crash on X startup
Alan Hourihane [Wed, 17 Oct 2007 08:35:44 +0000 (09:35 +0100)]
Fix a crash on X startup

16 years agoi915: lock struct mutex about buffer object lookups
Dave Airlie [Wed, 17 Oct 2007 05:36:14 +0000 (15:36 +1000)]
i915: lock struct mutex about buffer object lookups

16 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
Alan Hourihane [Tue, 16 Oct 2007 14:28:33 +0000 (15:28 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

linux-core/drm_bo.c
linux-core/drm_objects.h
shared-core/i915_dma.c
shared-core/i915_drv.h

16 years agoRevert part of earlier commit that caused an unresolved symbol for i915.
Michel Dänzer [Tue, 16 Oct 2007 13:10:08 +0000 (15:10 +0200)]
Revert part of earlier commit that caused an unresolved symbol for i915.

16 years agodrm: drop drm bo list handling code
Dave Airlie [Tue, 16 Oct 2007 11:28:00 +0000 (22:28 +1100)]
drm: drop drm bo list handling code

16 years agodrm: rename drmBOUnReference to drmBOUnreference for consistency
Dave Airlie [Tue, 16 Oct 2007 11:08:55 +0000 (22:08 +1100)]
drm: rename drmBOUnReference to drmBOUnreference for consistency

16 years agoDrop destroy ioctls for fences and buffer objects.
Kristian Høgsberg [Wed, 10 Oct 2007 01:09:31 +0000 (21:09 -0400)]
Drop destroy ioctls for fences and buffer objects.

We now always create a drm_ref_object for user objects and this is then the only
things that holds a reference to the user object.  This way unreference on will
destroy the user object when the last drm_ref_object goes way.

16 years agoTake bo type argument out of the ioctl interface.
Kristian Høgsberg [Wed, 10 Oct 2007 01:09:30 +0000 (21:09 -0400)]
Take bo type argument out of the ioctl interface.

The buffer object type is still tracked internally, but it is no longer
part of the user space visible ioctl interface.  If the bo create ioctl
specifies a non-NULL buffer address we assume drm_bo_type_user,
otherwise drm_bo_type_dc.  Kernel side allocations call
drm_buffer_object_create() directly and can still specify drm_bo_type_kernel.
Not 100% this makes sense either, but with this patch, the buffer type
is no longer exported and we can clean up the internals later on.

16 years agoEliminate support for fake buffers.
[utf-8] Kristian Høgsberg [Wed, 10 Oct 2007 01:09:29 +0000 (21:09 -0400)]
Eliminate support for fake buffers.

16 years agonouveau: revert unintended change.
Ben Skeggs [Tue, 16 Oct 2007 03:43:57 +0000 (14:43 +1100)]
nouveau: revert unintended change.

16 years agonouveau: Cleanup PGRAPH handler, attempt to survive PGRAPH exceptions.
Ben Skeggs [Tue, 16 Oct 2007 03:42:26 +0000 (14:42 +1100)]
nouveau: Cleanup PGRAPH handler, attempt to survive PGRAPH exceptions.

16 years agonouveau: Survive PFIFO_CACHE_ERROR.
Ben Skeggs [Tue, 16 Oct 2007 02:32:03 +0000 (13:32 +1100)]
nouveau: Survive PFIFO_CACHE_ERROR.

16 years agonouveau: Handle multiple PFIFO exceptions per irq, cleanup output.
Ben Skeggs [Tue, 16 Oct 2007 02:27:27 +0000 (13:27 +1100)]
nouveau: Handle multiple PFIFO exceptions per irq, cleanup output.

16 years agoshould be unlocked
Alan Hourihane [Mon, 15 Oct 2007 10:54:18 +0000 (11:54 +0100)]
should be unlocked

16 years agoFix some buffer teardown problems.
Alan Hourihane [Mon, 15 Oct 2007 10:51:19 +0000 (11:51 +0100)]
Fix some buffer teardown problems.

16 years agonouveau: PPC fixes. These regs are very touchy.
Stephane Marchesin [Sun, 14 Oct 2007 21:07:30 +0000 (23:07 +0200)]
nouveau: PPC fixes. These regs are very touchy.

16 years agonouveau: fix warning.
Jeremy Kolb [Sun, 14 Oct 2007 14:56:31 +0000 (10:56 -0400)]
nouveau: fix warning.

16 years agonouveau: fix warning.
Jeremy Kolb [Sun, 14 Oct 2007 14:56:17 +0000 (10:56 -0400)]
nouveau: fix warning.

16 years agoi915: fix vbl_swap allocation
Dave Airlie [Sun, 14 Oct 2007 11:19:13 +0000 (21:19 +1000)]
i915: fix vbl_swap allocation

16 years agonouveau: Fix a typo in nv25_graph_context_init
Pekka Paalanen [Fri, 12 Oct 2007 20:55:59 +0000 (23:55 +0300)]
nouveau: Fix a typo in nv25_graph_context_init

16 years agonouveau: Fix typos in nv20_graph_context_init
Stuart Bennett [Tue, 9 Oct 2007 19:39:10 +0000 (20:39 +0100)]
nouveau: Fix typos in nv20_graph_context_init

16 years agonouveau: Make notifiers go into PCI memory
Pekka Paalanen [Fri, 12 Oct 2007 20:43:31 +0000 (23:43 +0300)]
nouveau: Make notifiers go into PCI memory

On some hardware notifers in AGP memory just don't work.

16 years agonouveau: mandatory "oops I forgot half of the files" commit
Arthur Huillet [Fri, 12 Oct 2007 20:39:58 +0000 (22:39 +0200)]
nouveau: mandatory "oops I forgot half of the files" commit

16 years agonouveau: added support for software methods, and implemented those necessary for...
Arthur Huillet [Fri, 12 Oct 2007 20:35:39 +0000 (22:35 +0200)]
nouveau: added support for software methods, and implemented those necessary for NV04 (TNT1) to start X

16 years agoi915: add superioctl support to i915
Dave Airlie [Fri, 12 Oct 2007 00:54:38 +0000 (10:54 +1000)]
i915: add superioctl support to i915

This adds the initial i915 superioctl interface. The interface should be
sufficent even if the implementation may needs fixes/optimisations internally
in the drm wrt caching etc.

16 years agoi915: check mask instead of flags for buffer fence types
Dave Airlie [Thu, 11 Oct 2007 23:46:11 +0000 (09:46 +1000)]
i915: check mask instead of flags for buffer fence types

16 years agoFreeBSD: Fill in domain field when supported.
Eric Anholt [Wed, 10 Oct 2007 22:31:00 +0000 (15:31 -0700)]
FreeBSD: Fill in domain field when supported.

16 years agoEliminate trailing whitespace from last commit.
Ian Romanick [Wed, 10 Oct 2007 22:27:07 +0000 (15:27 -0700)]
Eliminate trailing whitespace from last commit.

16 years agoFix command list submission on big-endian.
Ian Romanick [Wed, 10 Oct 2007 22:25:30 +0000 (15:25 -0700)]
Fix command list submission on big-endian.

16 years agonouveau : nv10 and nv04 PGRAPH_NSTATUS are different
Matthieu Castet [Wed, 10 Oct 2007 19:11:43 +0000 (21:11 +0200)]
nouveau : nv10 and nv04 PGRAPH_NSTATUS are different

16 years agonouveau: PMC_BOOT_1 was not mapped.
Maarten Maathuis [Wed, 10 Oct 2007 14:41:21 +0000 (16:41 +0200)]
nouveau: PMC_BOOT_1 was not mapped.

16 years agoOnly add native-type on EXE signals. Otherwise flush flags may
Thomas Hellstrom [Wed, 10 Oct 2007 07:31:51 +0000 (09:31 +0200)]
Only add native-type on EXE signals. Otherwise flush flags may
get out of sync.

16 years agonouveau: try to fix big endian.
Stephane Marchesin [Tue, 9 Oct 2007 23:12:20 +0000 (01:12 +0200)]
nouveau: try to fix big endian.

16 years agonouveau: A char is signed, so it may overflow for >NV50.
Maarten Maathuis [Sun, 7 Oct 2007 17:01:56 +0000 (19:01 +0200)]
nouveau: A char is signed, so it may overflow for >NV50.

16 years agonouveau : print correct value in nouveau_graph_dump_trap_info for nv04
Matthieu Castet [Sat, 6 Oct 2007 10:00:08 +0000 (12:00 +0200)]
nouveau : print correct value in nouveau_graph_dump_trap_info for nv04

16 years agoMerge branch 'pre-superioctl-branch'
Dave Airlie [Fri, 5 Oct 2007 02:11:43 +0000 (12:11 +1000)]
Merge branch 'pre-superioctl-branch'

16 years agonouveau: Remove excess device classes.
Maarten Maathuis [Thu, 4 Oct 2007 07:46:16 +0000 (09:46 +0200)]
nouveau: Remove excess device classes.

16 years agonouveau: NV47 context switching voodoo + warning
Maarten Maathuis [Thu, 4 Oct 2007 07:39:31 +0000 (09:39 +0200)]
nouveau: NV47 context switching voodoo + warning

16 years agonouveau: Switch over to using PMC_BOOT_0 for card detection.
Maarten Maathuis [Thu, 4 Oct 2007 07:31:46 +0000 (09:31 +0200)]
nouveau: Switch over to using PMC_BOOT_0 for card detection.

16 years agolinux-drm: Obey device class requirements when detecting devices.
Maarten Maathuis [Tue, 2 Oct 2007 19:54:37 +0000 (21:54 +0200)]
linux-drm: Obey device class requirements when detecting devices.

16 years agodrm: fix page count calculation
Dave Airlie [Thu, 4 Oct 2007 06:13:22 +0000 (16:13 +1000)]
drm: fix page count calculation

Also no need to do pre-populate work on single page

16 years agonouveau: nv2a drm context switch support.
Stephane Marchesin [Thu, 4 Oct 2007 01:43:59 +0000 (03:43 +0200)]
nouveau: nv2a drm context switch support.

16 years agoUse 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'
Ian Romanick [Wed, 3 Oct 2007 21:12:16 +0000 (14:12 -0700)]
Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'

16 years agoFirst round of byte-ordering fixes for PowerPC.
Ian Romanick [Wed, 3 Oct 2007 21:08:18 +0000 (14:08 -0700)]
First round of byte-ordering fixes for PowerPC.

This isn't 100% as command submission via PCI-e GART buffers doesn't work.
I've hacked around that for the time being.  This is essentially the code
that was used at the POWER.org event to show Bimini.

16 years agonouveau: nv20 graph_create_context difference
Pekka Paalanen [Tue, 2 Oct 2007 18:56:01 +0000 (21:56 +0300)]
nouveau: nv20 graph_create_context difference

nv20 writes the chan->id to a different place than nv28.
This still does not make nv20 run nv10_demo.

16 years agonouveau: fix nv25_graph_context_init
Pekka Paalanen [Tue, 2 Oct 2007 18:51:14 +0000 (21:51 +0300)]
nouveau: fix nv25_graph_context_init

It was writing 4x the data in a loop.

16 years agonouveau: nv20 graph context init
Stuart Bennett [Tue, 2 Oct 2007 14:45:30 +0000 (15:45 +0100)]
nouveau: nv20 graph context init

16 years agottm: returning into dummy causes a buffer object leak
Dave Airlie [Tue, 2 Oct 2007 05:48:28 +0000 (15:48 +1000)]
ttm: returning into dummy causes a buffer object leak

as nobody ever derefs dummy, however not returning does the deref
correctly.

16 years agonouveau: Fix dereferencing a NULL pointer when erroring out during initialization.
Maarten Maathuis [Mon, 1 Oct 2007 20:21:23 +0000 (22:21 +0200)]
nouveau: Fix dereferencing a NULL pointer when erroring out during initialization.

16 years agonouveau: flip the ctx switch bit on. it seems to be ignored on nv34 but causes nv30...
Stephane Marchesin [Mon, 1 Oct 2007 01:28:10 +0000 (03:28 +0200)]
nouveau: flip the ctx switch bit on. it seems to be ignored on nv34 but causes nv30 issues.

16 years agonouveau : nv30 remove harcoded NV20_PGRAPH_CHANNEL_CTX_TABLE
Matthieu Castet [Sun, 30 Sep 2007 21:19:39 +0000 (23:19 +0200)]
nouveau : nv30 remove harcoded NV20_PGRAPH_CHANNEL_CTX_TABLE

16 years agonouveau : nv20_graph replace nouveau_graph_wait_idle by nouveau_wait_for_idle
Matthieu Castet [Sun, 30 Sep 2007 21:09:30 +0000 (23:09 +0200)]
nouveau : nv20_graph replace nouveau_graph_wait_idle by nouveau_wait_for_idle
Also clean PGRAPH_CHANNEL macros

16 years agonouveau: rename nv30_graph.c to nv20_graph.c
Pekka Paalanen [Sun, 30 Sep 2007 19:04:53 +0000 (22:04 +0300)]
nouveau: rename nv30_graph.c to nv20_graph.c

16 years agonouveau: nv30 graph function renames, removed nv20_graph.c
Pekka Paalanen [Sun, 30 Sep 2007 18:10:06 +0000 (21:10 +0300)]
nouveau: nv30 graph function renames, removed nv20_graph.c

All nv30 functions in nv30_graph.c that can be used on nv20 are renamed
as accordingly. nv20 specific parts from nv20_graph.c are moved into
nv30_graph.c.

16 years agonouveau: graph ctx init nv25
Pekka Paalanen [Sun, 30 Sep 2007 15:14:24 +0000 (18:14 +0300)]
nouveau: graph ctx init nv25

According to mmio_trace_900XGL.tar.bz2 by Evan Fraser the nv25 init is
exactly the same as nv28 init.

16 years agonouveau: nv28 graph context init
Pekka Paalanen [Sun, 30 Sep 2007 09:03:22 +0000 (12:03 +0300)]
nouveau: nv28 graph context init

16 years agonouveau: let nv20 hardware do ctx switching automatically.
Pekka Paalanen [Sat, 29 Sep 2007 20:17:19 +0000 (23:17 +0300)]
nouveau: let nv20 hardware do ctx switching automatically.

16 years agonouveau: Make nv20 use the nv30 PGRAPH ctx functions.
Pekka Paalanen [Sat, 29 Sep 2007 20:06:29 +0000 (23:06 +0300)]
nouveau: Make nv20 use the nv30 PGRAPH ctx functions.

16 years agonouveau: Change couple constants to symbols.
Pekka Paalanen [Sat, 29 Sep 2007 18:09:09 +0000 (21:09 +0300)]
nouveau: Change couple constants to symbols.

16 years agonouveau: NV30 should never call nouveau_nv20_context_switch().
Pekka Paalanen [Sat, 29 Sep 2007 18:07:46 +0000 (21:07 +0300)]
nouveau: NV30 should never call nouveau_nv20_context_switch().