title | description | keywords | ms.date | |||
---|---|---|---|---|---|---|
Linear Memory-Space Segments |
Linear Memory-Space Segments |
|
07/01/2024 |
A linear memory-space segment is the classical type of segment that display hardware uses. The linear memory-space segment conforms to the following model:
-
It virtualizes video memory located on the graphics adapter.
-
The GPU accesses it directly; that is, without redirection through page mapping.
-
It's managed linearly in a one-dimensional address space.
The driver sets the Flags member of the DXGK_SEGMENTDESCRIPTOR structure to 0 to specify a linear memory-space segment. However, the driver can set the following bit-field flags to indicate other segment support:
-
CpuVisible to indicate that the segment is CPU-accessible.
-
UseBanking to indicate that the segment is divided into banks.
The following figure shows a visual representation of a linear memory-space segment.
:::image type="content" source="images/memspac.png" alt-text="Diagram illustrating a linear memory-space segment with virtualized video memory and GPU access.":::