Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.31 KB

linear-memory-space-segments.md

File metadata and controls

29 lines (19 loc) · 1.31 KB
title description keywords ms.date
Linear Memory-Space Segments
Linear Memory-Space Segments
memory segments WDK display , linear memory-space segments
linear memory-space segments WDK display
memory-space segments WDK display
07/01/2024

Linear Memory-Space Segments

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.":::