# US 2021/0287327 A1 · Apparatus and method for dynamic provisioning, quality of service, and prioritization in a 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/0287327 A1
- Document ID: US20210287327A1
- Status: Published application
- Kind: A1
- Application number: 17/182,256
- Filed: 2021-02-23
- Published: 2021-09-16
- Earliest claimed: 2017-04-07
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Abhishek R. APPU; Joydeep RAY; Altug KOKER; Balaji VEMBU; Pattabhiraman K; Matthew B. CALLAWAY
- Web page: https://patentgrep.com/patent/US20210287327A1

## CPC

- G06T 1/60: Memory management
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06T 15/005: {General purpose rendering architectures}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45591: {Monitoring or debugging support}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method for dynamic provisioning, quality of service, and prioritization in a graphics processor. For example, one embodiment of an apparatus comprises a graphics processing unit (GPU) comprising a plurality of graphics processing resources; slice configuration hardware logic to logically subdivide the graphics processing resources into a plurality of slices; and slice allocation hardware logic to allocate a designated number of slices to each virtual machine (VM) of a plurality of VMs running in a virtualized execution environment, the slice allocation hardware logic to allocate different numbers of slices to different VMs based on graphics processing requirements and/or priorities of each of the VMs.

## Claims

### Claim 1

(canceled)

### Claim 2

An apparatus comprising:
a graphics processing unit (GPU) comprising a plurality of graphics processing resources, wherein the GPU is communicatively coupled to a multi-core processor comprising general purpose processing cores through a high-speed link, and wherein cache coherency is maintained between the GPU and the multi-core processor;
partition configuration hardware logic to logically subdivide the graphics processing resources into a plurality of partitions; and
a graphics scheduler to schedule operations on graphics engines of the GPU, wherein the graphics scheduler comprises a set of registers, a value within at least one of which indicates a first graphics engine associated with a first partition has data to be used by a second graphics engine.

### Claim 3 (depends on 2)

The apparatus of claim 2, further comprising:
partition allocation hardware logic to allocate a designated number of partitions to each virtual machine (VM) of a plurality of VMs running in a virtualized execution environment, the partition allocation hardware logic to allocate different numbers of partitions to different VMs based on at least one of graphics processing requirements and priorities of the VMs.

### Claim 4 (depends on 3)

The apparatus of claim 3, further comprising:
a plurality of monitors to monitor VM-aware signals at one or more stages of a pipeline of the GPU; and
a plurality of statistics counters to count events associated with the VM-aware signals.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the set of registers comprises multiple sets of buffered coalescing registers, each set associated with a different virtual machine (VM), and wherein an indication provided to the graphics scheduler by the first graphics engine is to be coalesced with one or more prior indications in the set associated with a respective VM.

### Claim 6 (depends on 2)

The apparatus of claim 2, wherein the first graphics engine provides a vector to the at least one register, and wherein the vector identifies a virtual function for which the at least one register is maintained.

### Claim 7 (depends on 2)

The apparatus of claim 2, wherein the first graphics engine is to provide a token number to the graphics scheduler, and wherein the token number is used by the second graphics engine to pass the data.

### Claim 8 (depends on 2)

The apparatus of claim 2, wherein a partition within the plurality of partitions comprises a specified set of execution units, data ports to a connection fabric, shared local memory (SLM), set of samplers, pixel back-end resources, three-dimensional (3D) graphics processing engines, media encode/decode engines, and/or rasterization hardware.

### Claim 9

A method comprising:
communicatively coupling a graphics processing unit (GPU) comprising a plurality of graphics processing resources to a multi-core processor comprising general purpose processing cores through a high-speed link, wherein cache coherency is maintained between the GPU and the multi-core processor;
logically subdividing a set of the graphics processing resources into a plurality of partitions; and
scheduling operations on graphics engines of the GPU by a graphics scheduler, wherein a value within at least one of a set of registers indicates a first graphics engine associated with a first partition has data to be used by a second graphics engine.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
allocating a designated number of partitions to each virtual machine (VM) of a plurality of VMs running in a virtualized execution environment, wherein different numbers of partitions are allocated to different VMs based on at least one of graphics processing requirements and priorities of the VMs.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
monitoring VM-aware signals at one or more stages of a pipeline of the GPU; and
counting events associated with the VM-aware signals.

### Claim 12 (depends on 9)

The method of claim 9, wherein the set of registers comprises multiple sets of buffered coalescing registers, each set associated with a different virtual machine (VM), and wherein an indication provided to the graphics scheduler by the first graphics engine is to be coalesced with one or more prior indications in the set associated with a respective VM.

### Claim 13 (depends on 9)

The method of claim 9, wherein the first graphics engine provides a vector to the at least one register, and wherein the vector identifies a virtual function for which the at least one register is maintained.

### Claim 14 (depends on 9)

The method of claim 9, wherein the first graphics engine is to provide a token number to the graphics scheduler, and wherein the token number is used by the second graphics engine to pass the data.

### Claim 15 (depends on 9)

The method of claim 9, wherein a partition within the plurality of partitions comprises a specified set of execution units, data ports to a connection fabric, shared local memory (SLM), set of samplers, pixel back-end resources, three-dimensional (3D) graphics processing engines, media encode/decode engines, and/or rasterization hardware.

### Claim 16

A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform:
communicatively coupling a graphics processing unit (GPU) comprising a plurality of graphics processing resources to a multi-core processor comprising general purpose processing cores through a high-speed link, wherein cache coherency is maintained between the GPU and the multi-core processor;
logically subdividing a set of the graphics processing resources into a plurality of partitions; and
scheduling operations on graphics engines of the GPU by a graphics scheduler, wherein a value within at least one of a set of registers indicates a first graphics engine associated with a first partition has data to be used by a second graphics engine.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the machine is caused to further perform:
allocating a designated number of partitions to each virtual machine (VM) of a plurality of VMs running in a virtualized execution environment, wherein different numbers of partitions are allocated to different VMs based on at least one of graphics processing requirements and priorities of the VMs.

### Claim 18 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the set of registers comprises multiple sets of buffered coalescing registers, each set associated with a different virtual machine (VM), and wherein an indication provided to the graphics scheduler by the first graphics engine is to be coalesced with one or more prior indications in the set associated with a respective VM.

### Claim 19 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the first graphics engine provides a vector to the at least one register, and wherein the vector identifies a virtual function for which the at least one register is maintained.

### Claim 20 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the first graphics engine is to provide a token number to the graphics scheduler, and wherein the token number is used by the second graphics engine to pass the data.

### Claim 21 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein a partition within the plurality of partitions comprises a specified set of execution units, data ports to a connection fabric, shared local memory (SLM), set of samplers, pixel back-end resources, three-dimensional (3D) graphics processing engines, media encode/decode engines, and/or rasterization hardware.
