class GlobalHardwareStatusPage

Defined at line 18 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

There is a global HWSP for each engine command streamer, and a per-process

HWSP for each context. The layout of GHWSP and PPHWSP differs.

Public Members

static const uint32_t kContextStatusStartOffset
static const uint32_t kContextStatusEndOffsetGen12
static const uint32_t kLastWrittenContextStatusOffsetGen12
static const uint32_t kGeneralPurposeStartOffset
static const uint32_t kGeneralPurposeEndOffset
static const uint64_t kStatusQwordsGen12
static const uint32_t kSequenceNumberOffset
static const uint32_t kScratchOffset

Public Methods

void GlobalHardwareStatusPage (EngineCommandStreamerId id, std::unique_ptr<GpuMapping> mapping)

Defined at line 20 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

EngineCommandStreamerId id ()

Defined at line 28 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

uint64_t gpu_addr ()

Defined at line 30 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

void write_sequence_number (uint32_t val)

Defined at line 32 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

uint32_t read_sequence_number ()

Defined at line 36 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.h

void InitContextStatusGen12 ()

Defined at line 40 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.cc

void ReadContextStatus (uint64_t & read_index, std::optional<bool> * idle_out)

Reads all available context status entries; if there are any, then |idle_out| is set

according to the most recent status. Updates |read_index|.

Defined at line 10 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.cc

void ReadContextStatusGen12 (uint64_t & read_index, std::optional<bool> * idle_out)

Context Status

https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-tgl-vol02d-commandreference-structures_0.pdf

p.279

Defined at line 59 of file ../../src/graphics/drivers/msd-intel-gen/src/hardware_status_page.cc