diff options
author | Ben Skeggs <darktama@iinet.net.au> | 2006-12-26 20:59:49 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@iinet.net.au> | 2006-12-26 21:36:15 +1100 |
commit | c0a63d8e5e33b7fe3057e32f04c22969ac2adc1d (patch) | |
tree | a047c596952c18e1675a63dac0243c8afc8bf2c9 /src/mesa/drivers/dri/nouveau/nouveau_object.h | |
parent | b8769f318ff9c2e4a74fbb1d4b058eb521e36dda (diff) |
nouveau: Add notifier support functions
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_object.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_object.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_object.h b/src/mesa/drivers/dri/nouveau/nouveau_object.h index a49a39719b..87f2dc9ae7 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_object.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_object.h @@ -12,7 +12,8 @@ enum DMAObjects { NvCtxSurf2D = 0x80000020, NvImageBlit = 0x80000021, NvDmaFB = 0xD0FB0001, - NvDmaAGP = 0xD0AA0001 + NvDmaAGP = 0xD0AA0001, + NvSyncNotify = 0xD0000001 }; enum DMASubchannel { @@ -22,4 +23,17 @@ enum DMASubchannel { }; extern void nouveauObjectOnSubchannel(nouveauContextPtr nmesa, int subchannel, int handle); + +extern GLboolean nouveauCreateContextObject(nouveauContextPtr nmesa, + int handle, int class, + uint32_t flags, + uint32_t dma_in, + uint32_t dma_out, + uint32_t dma_notifier); +extern GLboolean nouveauCreateDmaObject(nouveauContextPtr nmesa, + uint32_t handle, + uint32_t offset, + uint32_t size, + int target, + int access); #endif |