From e8f7b5623ed929dafa2bc9f65ec903c2f2f2cbb3 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Thu, 26 May 2005 11:42:16 +0000 Subject: [PATCH] updated shared_info once more for DMA cmdbuffer in main mem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12838 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/nvidia/DriverInterface.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index 6f8f3d5aab..1ac56df8b6 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -145,14 +145,14 @@ typedef struct { space. */ area_id fb_area; /* Frame buffer's area_id. The addresses are shared with all teams. */ - area_id dma_buffer_area; /* Area assigned for DMA. It will be cloned into the accelerant's - address space.*/ + area_id unaligned_dma_area; /* Area assigned for DMA. It will be (partially) mapped to an + aligned area using MTRR-WC. */ + area_id dma_area; /* Aligned area assigned for DMA. The addresses are shared with all teams. */ void *framebuffer; /* As viewed from virtual memory */ void *framebuffer_pci; /* As viewed from the PCI bus (for DMA) */ - void *dma_buffer; /* As viewed from virtual memory */ - void *dma_buffer_pci; /* As viewed from the PCI bus */ + void *dma_buffer_pci; /* As viewed from the PCI bus (for DMA) */ /*screenmode list*/ area_id mode_area; /* Contains the list of display modes the driver supports */ @@ -198,7 +198,6 @@ typedef struct { uint32 ch_ptr[0x20]; /* cmd handle's ptr to it's assigned FIFO ch (if any) */ } fifo; struct { - uint32 *cmdbuffer; /* (physical) location of DMA command buffer */ uint32 put; /* last 32-bit-word adress given to engine to exec. to */ uint32 current; /* first free 32-bit-word adress in buffer */ uint32 free; /* nr. of useable free 32-bit words remaining in buffer */