diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-02-28 15:30:52 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-02-28 15:30:52 +1100 |
commit | da1dd87acb7061b4772c271dc3c9071a3b160e8a (patch) | |
tree | 220c07d3be22c5f7e821ec5fa7232818fc40b987 /src/nv_dma.h | |
parent | 7e5f90b264fdb3081250ff16748164998b6461a6 (diff) | |
download | xorg-driver-xf86-video-nouveau-da1dd87acb7061b4772c271dc3c9071a3b160e8a.tar.gz |
match drm v4 interface changes
context (gr/dma) object handling:
- remove use of flags/dmaobj when creating objects
- move object creation/setup into nv_accel_common.c
- NV04: make PGRAPH complain a bit more if we program the hardware
incorrectly.
- NV04/NV10: enable PGRAPH_DEBUG_3_CTX_METHODS
This bit seems to enable the use of SET_* methods.
- NV04/NV10/NV40: enable PGRAPH_DEBUG_3_IGNORE_PATCHVALID
Objects no longer get PATCH_CONFIG_VALID set in their context.
Not sure how to get this set other than to intercept the
PATCH_EXCEPTION error and enable the flag. I opted for the
same method NVIDIA use, which makes PGRAPH ignore it.
misc:
- use NV04_SCALED_IMAGE_FROM_MEMORY on all NV_ARCH_04 cards
- fix offScreenBase calculation (EXA)
- move mem alloc/free helpers into nv_mem.c
Diffstat (limited to 'src/nv_dma.h')
-rw-r--r-- | src/nv_dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nv_dma.h b/src/nv_dma.h index d89486d..3d43fcd 100644 --- a/src/nv_dma.h +++ b/src/nv_dma.h @@ -55,6 +55,7 @@ #define NV_DMA_TARGET_AGP 3 enum DMAObjects { + NvNullObject = 0x00000000, NvContextSurfaces = 0x80000010, NvRop = 0x80000011, NvImagePattern = 0x80000012, |