# US 2021/0264559 A1 · Apparatus and method for efficient localdisplay sharing for a virtualized graphics processor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0264559 A1
- Document ID: US20210264559A1
- Status: Published application
- Kind: A1
- Application number: 17/256,203
- Filed: 2018-11-30
- Published: 2021-08-26
- Earliest claimed: 2018-11-30
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Matthew ROPER; Zhi WANG; Satyeshwar SINGH; Kalyan KONDAPALLY; Daniel VETTER; Wei ZHANG
- Web page: https://patentgrep.com/patent/US20210264559A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06T 1/60: Memory management
- G06T 15/005: {General purpose rendering architectures}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Apparatus and method for Implementing a virtual display. For example, one embodiment of a graphics processing apparatus comprises host execution circuitry to execute instructions to implement a host and virtualization instructions to implement a virtualized execution environment comprising a plurality of virtual machines (VMs); graphics execution circuitry to execute graphics instructions to render framebuffers on behalf of each VM, each framebuffer associated with a virtual function (VF); and a display engine comprising one or more display pipes and a plurality of display planes; wherein a dynamic mapping is to be performed to associate one or more of the framebuffers to one or more of the display planes, the dynamic mapping comprising generating a framebuffer object with framebuffer information required by a physical function (PF) of the host to update the one or more display planes.

## Claims

### Claim 1

A graphics processing apparatus comprising:
host execution circuitry to execute instructions to implement a host and virtualization instructions to implement a virtualized execution environment comprising a plurality of virtual machines (VMs);
graphics execution circuitry to execute graphics instructions to render framebuffers on behalf of each VM, each framebuffer associated with a virtual function (VF); and
a display engine comprising one or more display pipes and a plurality of display planes;
wherein a dynamic mapping is to be performed to associate one or more of the framebuffers to one or more of the display planes, the dynamic mapping comprising generating a framebuffer object with framebuffer information required by a physical function (PF) of the host to update the one or more display planes.

### Claim 2 (depends on 1)

The graphics processing apparatus of claim 1 wherein the framebuffer information comprises framebuffer dimensions.

### Claim 3 (depends on 1)

The graphics processing apparatus of claim 1 wherein the framebuffer information comprises a framebuffer format.

### Claim 4 (depends on 1)

The graphics processing apparatus of claim 1 wherein the framebuffer information comprises a base address associated with the framebuffer.

### Claim 5 (depends on 1)

The graphics processing apparatus of claim 1 further comprising:
a framebuffer information decoder to read the framebuffer objects and generate corresponding decoded framebuffer information.

### Claim 6 (depends on 5)

The graphics processing apparatus of claim 5 further comprising:
a plane update arbiter implemented by the host to use the decoded framebuffer information to perform a display engine update and/or a display plane update.

### Claim 7 (depends on 6)

The graphics processing apparatus of claim 6 wherein the display engine update and/or display plane update comprises updating one or more registers of the graphics execution circuitry to indicate the dynamic mapping to associate the one or more framebuffers to the one or more of the display planes.

### Claim 8 (depends on 1)

The graphics processing apparatus of claim 1 wherein each framebuffer object comprises a virtual function number to identify a virtual function associated with a corresponding framebuffer.

### Claim 9 (depends on 8)

The graphics processing apparatus of claim 8 wherein each framebuffer object further comprises a plane identifier and a pipe identifier to indicate a plane and pipe of the display engine associated with the corresponding framebuffer.

### Claim 10

A method comprising:
executing host instructions to implement a host and a virtualized execution environment comprising a plurality of virtual machines (VMs);
executing graphics instructions by graphics execution circuitry to render framebuffers on behalf of each VM, each framebuffer associated with a virtual function (VF);
dynamically mapping a framebuffer to one or more display planes of a display engine, wherein dynamically mapping comprises generating a framebuffer object with framebuffer information required by a physical function (PF) of the host to update the one or more display planes.

### Claim 11 (depends on 10)

The method of claim 10 wherein the framebuffer information comprises framebuffer dimensions.

### Claim 12 (depends on 10)

The method of claim 10 wherein the framebuffer information comprises a framebuffer format.

### Claim 13 (depends on 10)

The method of claim 10 wherein the framebuffer information comprises a base address associated with the framebuffer.

### Claim 14 (depends on 10)

The method of claim 10 further comprising:
reading the framebuffer objects; and
generating corresponding decoded framebuffer information.

### Claim 15 (depends on 14)

The method of claim 14 further comprising:
performing a display engine update and/or a display plane update using the decoded framebuffer information.

### Claim 16 (depends on 15)

The method of claim 15 wherein the display engine update and/or display plane update comprises:
updating one or more registers of the graphics execution circuitry to indicate the dynamic mapping to associate the one or more framebuffers to the one or more of the display planes.

### Claim 17 (depends on 10)

The method of claim 10 wherein each framebuffer object comprises a virtual function number to identify a virtual function associated with a corresponding framebuffer.

### Claim 18 (depends on 17)

The method of claim 17 wherein each framebuffer object further comprises a plane identifier and a pipe identifier to indicate a plane and pipe of the display engine associated with the corresponding framebuffer.

### Claim 19

A machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform the operations of:
executing host instructions to implement a host and a virtualized execution environment comprising a plurality of virtual machines (VMs);
executing graphics instructions by graphics execution circuitry to render framebuffers on behalf of each VM, each framebuffer associated with a virtual function (VF);
dynamically mapping a framebuffer to one or more display planes of a display engine, wherein dynamically mapping comprises generating a framebuffer object with framebuffer information required by a physical function (PF) of the host to update the one or more display planes.

### Claim 20 (depends on 19)

The machine-readable medium of claim 19 wherein the framebuffer information comprises framebuffer dimensions.

### Claim 21 (depends on 19)

The machine-readable medium of claim 19 wherein the framebuffer information comprises a framebuffer format.

### Claim 22 (depends on 19)

The machine-readable medium of claim 19 wherein the framebuffer information comprises a base address associated with the framebuffer.

### Claim 23 (depends on 19)

The machine-readable medium of claim 19 further comprising program code to cause the machine to perform the operations of:
reading the framebuffer objects; and
generating corresponding decoded framebuffer information.

### Claim 24 (depends on 23)

The machine-readable medium of claim 23 further comprising program code to cause the machine to perform the operations of:
performing a display engine update and/or a display plane update using the decoded framebuffer information.

### Claim 25 (depends on 24)

The machine-readable medium of claim 24 wherein the display engine update and/or display plane update comprises:
updating one or more registers of the graphics execution circuitry to indicate the dynamic mapping to associate the one or more framebuffers to the one or more of the display planes.

### Claim 26 (depends on 19)

The machine-readable medium of claim 19 wherein each framebuffer object comprises a virtual function number to identify a virtual function associated with a corresponding framebuffer.

### Claim 27 (depends on 26)

The machine-readable medium of claim 26 wherein each framebuffer object further comprises a plane identifier and a pipe identifier to indicate a plane and pipe of the display engine associated with the corresponding framebuffer.
