Patent ID: 7620793
Filing Date: 2009-11-17
Classification: G06F,G06T

Abstract:
1. A method of mapping physical memory constructed of multiple partitions to a virtual memory space, comprising: determining a bank set as a number of banks in a dynamic random access memory (DRAM) device included in each one of the multiple partitions; determining a number of partitions in the multiple partitions that are available in the physical memory; computing a virtual memory page unit size for the virtual memory space as a product of the number of partitions, a partition stride, and the number of banks in the bank set, wherein the partition stride specifies a span in an address space of the physical memory between adjacent partitions of the multiple partitions and a virtual memory page boundary between two virtual memory page unit size virtual memory pages is aligned with a boundary between two of the multiple partitions in the physical memory; allocating virtual memory pages to a graphics surface for storing data in the memory constructed of the multiple partitions, wherein a size of the virtual memory pages is a product of an integer and the virtual memory page unit size; and mapping the number of the banks within each DRAM device to a two-dimensional image stored in the physical memory as the graphics surface, wherein equal sized portions of the banks are interleaved in image space according to a bank interleave pattern that is stored in a page table entry for the virtual memory pages.