Patent ID: 8274518
Filing Date: 2012-09-25
Classification: G06F,G06T

Abstract:
1. A method for processing commands comprising graphics work items in a computing system having a first virtual machine (VM), and a second VM, comprising: dividing a real address space of a graphics processing unit (GPU) into at least a first portion and a second portion; providing the first VM with a first graphics virtual address space, the first graphics virtual address space being mapped to the first portion of the real address space; receiving, by a central processing unit (CPU), a first command to be processed by the GPU, the first command having a first virtual address in the first graphics virtual address space, the first command being originated by the first VM; translating, by the CPU, the first virtual address to a corresponding first real address in the first real portion; instructing the GPU, by the CPU, to process the first command at the first real address; wherein instructing the GPU, by the CPU, to process the first command at the first real address comprises processing, by the GPU, the first command at the first real address; providing the second VM with a second graphics virtual address space, the second graphics virtual address space being mapped to the second portion of the real address space; receiving, by the CPU, a second command to be processed by the GPU, the second command having a second virtual address in the second graphics virtual address space, the second command being originated by the second VM; translating, by the CPU, the second virtual address to a corresponding second real address in the second real portion; and instructing the GPU, by the CPU, to process the second command at the second real address; wherein instructing the GPU, by the CPU, to process the second command at the second real address comprises processing, by the GPU, the second command at the second real address; wherein instructing the GPU, by the CPU, to process the second command at the second real address further comprises compositing, by a compositor, a display image comprising a graphical result of processing the first command, and a graphical result of processing the second command, the compositor having access to the first and second portions of the real address space; and wherein instructing the GPU, by the CPU, to process the second command at the second real address further comprises displaying the display image on a display device.