Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.intelgpucore

PROTOCOLS

ZxIntelGpuCore

Defined in fuchsia.hardware.intelgpucore/intel-gpu-core.banjo

GetPciBti

Returns a bus transaction initiator.

Request

NameType
index uint32

Response

NameType
s zx/status
bti handle<bti>

GttAlloc

Allocates a region of the GTT of the given |page_count|, returning the page-aligned virtual address in |addr_out|.

Request

NameType
page_count uint64

Response

NameType
s zx/status
addr uint64

GttClear

Clears the page table entries for the GTT allocation given by |addr|.

Request

NameType
addr uint64

Response

NameType
s zx/status

GttFree

Frees the GTT allocation given by |addr|.

Request

NameType
addr uint64

Response

NameType
s zx/status

GttGetSize

Returns the size of the GTT (global translation table) in bytes.

Request

NameType

Response

NameType
size uint64

GttInsert

Inserts page tables entries for the GTT allocation given by |addr| for the vmo represented by handle |buffer|, at the given |page_offset| and |page_count|. Takes ownership of |buffer|.

Request

NameType
addr uint64
buffer handle<vmo>
page_offset uint64
page_count uint64

Response

NameType
s zx/status

MapPciMmio

Maps the given |pci_bar|; address returned in |addr_out|, size in bytes returned in |size_out|.

Request

NameType
pci_bar uint32

Response

NameType
s zx/status
buf vector<uint8>

ReadPciConfig16

Reads 16 bits from pci config space; returned in |value_out|.

Request

NameType
addr uint16

Response

NameType
s zx/status
value uint16

RegisterInterruptCallback

Registers the given |callback| to be invoked with parameter |data| when an interrupt occurs matching |interrupt_mask|.

Request

NameType
callback ZxIntelGpuCoreInterrupt
interrupt_mask uint32

Response

NameType
s zx/status

UnmapPciMmio

Unmaps the given |pci_bar|.

Request

NameType
pci_bar uint32

Response

NameType
s zx/status

UnregisterInterruptCallback

Un-registers a previously registered interrupt callback.

Request

NameType

Response

NameType
s zx/status

ZxIntelGpuCoreInterrupt

Defined in fuchsia.hardware.intelgpucore/intel-gpu-core.banjo

Callback

Request

NameType
master_interrupt_control uint32
timestamp uint64

Response

NameType

STRUCTS

CONSTANTS

NameValueTypeDescription
IMAGE_TYPE_X_TILED 1 uint32
IMAGE_TYPE_YF_TILED 3 uint32
IMAGE_TYPE_Y_LEGACY_TILED 2 uint32